OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / ceil.3
index c4ed055..1059865 100644 (file)
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.\" Japanese Version Copyright (c) 1997 Ueyama Rui
-.\"         all rights reserved.
-.\" Translated Tue Feb 21 0:47:30 JST 1997
-.\"         by Ueyama Rui <ueyama@campusnet.or.jp>
-.\" Updated & Modified Fri Jul  6 20:35:28 JST 2001
-.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
-.\" Updated & Modified Sun Jan  9 23:39:35 JST 2005
-.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
-.\" Updated 2008-09-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
 .\"
-.\"WORD:       mantissa        仮数
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH CEIL 3  2010-09-20 "" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH CEIL 3 2010\-09\-20 "" "Linux Programmer's Manual"
 .SH 名前
-.\"O ceil, ceilf, ceill \- ceiling function: smallest integral value not
-.\"O less than argument
 ceil, ceilf, ceill \- 引き数を下回らない最小の整数値
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
-.B #include <math.h>
+\fB#include <math.h>\fP
 .sp
-.BI "double ceil(double " x );
+\fBdouble ceil(double \fP\fIx\fP\fB);\fP
 .br
-.BI "float ceilf(float " x );
+\fBfloat ceilf(float \fP\fIx\fP\fB);\fP
 .br
-.BI "long double ceill(long double " x );
+\fBlong double ceill(long double \fP\fIx\fP\fB);\fP
 .fi
 .sp
-.\"O Link with \fI\-lm\fP.
 \fI\-lm\fP でリンクする。
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
-.BR ceilf (),
-.BR ceill ():
+\fBceilf\fP(), \fBceill\fP():
 .RS 4
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L;
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
+|| _POSIX_C_SOURCE\ >=\ 200112L;
 .br
-or
-.I cc\ -std=c99
+or \fIcc\ \-std=c99\fP
 .RE
 .ad
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O These functions return the smallest integral value that is not less than
-.\"O .IR x .
 これらの関数は \fIx\fP より小さくない最小の整数値を返す。
 
-.\"O For example,
-.\"O .IR ceil(0.5)
-.\"O is 1.0, and
-.\"O .IR ceil(\-0.5)
-.\"O is 0.0.
-例えば、
-.I ceil(0.5)
-は 1.0 であり、
-.I ceil(\-0.5)
-は 0.0 である。
-.\"O .SH "RETURN VALUE"
+例えば、 \fIceil(0.5)\fP は 1.0 であり、 \fIceil(\-0.5)\fP は 0.0 である。
 .SH 返り値
-.\"O These functions return the ceiling of
-.\"O .IR x .
-これらの関数は
-.I x
-を下回らない整数値を返す。
+これらの関数は \fIx\fP を下回らない整数値を返す。
 
-.\"O If \fIx\fP is integral, +0, \-0, NaN, or infinite,
-.\"O \fIx\fP itself is returned.
-\fIx\fP が整数、+0、\-0、NaN、無限のいずれかの場合、
-\fIx\fP そのものを返す。
-.\"O .SH ERRORS
+\fIx\fP が整数、+0、\-0、NaN、無限のいずれかの場合、 \fIx\fP そのものが返される。
 .SH エラー
-.\"O No errors occur.
-エラーは発生しない。
-.\"O POSIX.1-2001 documents a range error for overflows, but see NOTES.
-POSIX.1-2001 にはオーバーフローに対して範囲エラーが記載されている。
-「注意」の節を参照。
-.\"O .SH "CONFORMING TO"
+エラーは発生しない。 POSIX.1\-2001 にはオーバーフローでの範囲エラー (range error) の 記載がある。「注意」の節を参照のこと。
 .SH 準拠
-C99, POSIX.1-2001.
-.\"O The variant returning
-.\"O .I double
-.\"O also conforms to
-.\"O SVr4, 4.3BSD, C89.
-.I double
-版の関数は SVr4, 4.3BSD, C89 にも準拠している。
-.\"O .SH NOTES
+C99, POSIX.1\-2001.  \fIdouble\fP 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
 .SH 注意
-.\"O SUSv2 and POSIX.1-2001 contain text about overflow (which might set
-.\"O .I errno
-.\"O to
-.\"O .BR ERANGE ,
-.\"O or raise an
-.\"O .B FE_OVERFLOW
-.\"O exception).
-SUSv2 と POSIX.1-2001 にはオーバーフローに関する記述があり、
-オーバーフローの際には
-.I errno
-を
-.B ERANGE
-に設定するか
-.B FE_OVERFLOW
-例外を起こすとなっている。
-.\"O In practice, the result cannot overflow on any current machine,
-.\"O so this error-handling stuff is just nonsense.
-実際のところ、どの現行のマシンでも結果がオーバーフローを起こすことは
-ないので、このエラー処理は意味がない。
 .\" The POSIX.1-2001 APPLICATION USAGE SECTION discusses this point.
-.\"O (More precisely, overflow can happen only when the maximum value
-.\"O of the exponent is smaller than the number of mantissa bits.
-.\"O For the IEEE-754 standard 32-bit and 64-bit floating-point numbers
-.\"O the maximum value of the exponent is 128 (respectively, 1024),
-.\"O and the number of mantissa bits is 24 (respectively, 53).)
-(より正確に言うと、オーバーフローは指数部の最大値が
-仮数部を表すビットの数より小さい場合にしか起こらない。
-IEEE-754 規格の 32 ビットと 64 ビットの浮動小数では、
-指数部の最大値はそれぞれ 128 と 1024 であり、
-仮数部のビット数はそれぞれ 24 と 53 である。)
+SUSv2 と POSIX.1\-2001 にはオーバーフローに関する記述があり、 オーバーフローの場合には、 \fIerrno\fP を \fBERANGE\fP
+に設定するか、 \fBFE_OVERFLOW\fP 例外を発生することとされている。
+実際のところ、どの現行のマシンでも結果がオーバーフローを起こすことはないので、 このエラー処理は意味がない。
+(より正確に言うと、オーバーフローは指数部の最大値が 仮数部を表すビットの数より小さい場合にしか起こらない。 IEEE\-754 規格の 32 ビットと
+64 ビットの浮動小数では、 指数部の最大値はそれぞれ 128 と 1024 であり、 仮数部のビット数はそれぞれ 24 と 53 である。)
 
-.\"O The integral value returned by these functions may be too large
-.\"O to store in an integer type
-.\"O .RI ( int ,
-.\"O .IR long ,
-.\"O etc.).
-.\"O To avoid an overflow, which will produce undefined results,
-.\"O an application should perform a range check on the returned value
-.\"O before assigning it to an integer type.
-これらの関数が返す整数値は整数型
-.RI ( int ,
-.I long
-など) に格納するには大き過ぎるかもしれない。
-オーバーフローが起こった場合の結果は分からないので、
-オーバーフローを避けるため、アプリケーションでは整数型に代入する前に
+これらの関数が返す整数値は整数型 (\fIint\fP, \fIlong\fP など) に格納するには大き過ぎるかもしれない。
+オーバーフローが起こった場合の結果は分からないので、 オーバーフローを避けるため、アプリケーションでは整数型に代入する前に
 返された値の範囲確認を実行すべきである。
-.\"O .SH "SEE ALSO"
 .SH 関連項目
-.BR floor (3),
-.BR lrint (3),
-.BR nearbyint (3),
-.BR rint (3),
-.BR round (3),
-.BR trunc (3)
+\fBfloor\fP(3), \fBlrint\fP(3), \fBnearbyint\fP(3), \fBrint\fP(3), \fBround\fP(3),
+\fBtrunc\fP(3)