OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man3 / ilogb.3
index adcd2e5..665310d 100644 (file)
@@ -2,6 +2,7 @@
 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" Inspired by a page by Walter Harms created 2002-08-10
 .\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.\"
 .\" Japanese Version Copyright (c) 2005 Yuichi SATO
 .\" and Copyright (c) 2008 Akihiro MOTOKI
 .\" Translated Sat Jan 29 05:17:36 JST 2005
 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
 .\" Updated 2008-09-18, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\"
-.TH ILOGB 3 2009-02-04 "" "Linux Programmer's Manual"
-.SH Ì¾Á°
-ilogb, ilogbf, ilogbl \- ÉâÆ°¾®¿ôÅÀ¿ô¤Î»Ø¿ôÉô¤òÀ°¿ô¤È¤·¤Æ¼èÆÀ¤¹¤ë
-.SH ½ñ¼°
-.B #include <math.h>
+.TH ILOGB 3 2013\-08\-06 "" "Linux Programmer's Manual"
+.SH 名前
+ilogb, ilogbf, ilogbl \- 浮動小数点数の指数部を整数として取得する
+.SH 書式
+\fB#include <math.h>\fP
 .sp
-.BI "int ilogb(double " x );
+\fBint ilogb(double \fP\fIx\fP\fB);\fP
 .br
-.BI "int ilogbf(float " x );
+\fBint ilogbf(float \fP\fIx\fP\fB);\fP
 .br
-.BI "int ilogbl(long double " x );
+\fBint ilogbl(long double \fP\fIx\fP\fB);\fP
 .sp
-\fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
+\fI\-lm\fP でリンクする。
 .sp
 .in -4n
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
-.BR ilogb ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
-.I cc\ -std=c99
+\fBilogb\fP():
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L;
 .br
-.BR ilogbf (),
-.BR ilogbl ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
-.I cc\ -std=c99
+or \fIcc\ \-std=c99\fP
+.RE
+.br
+\fBilogbf\fP(), \fBilogbl\fP():
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
+|| _POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or \fIcc\ \-std=c99\fP
+.RE
 .ad b
-.SH ÀâÌÀ
-¤³¤ì¤é¤Î´Ø¿ô¤Ï°ú¤­¿ô¤Î»Ø¿ôÉô¤òÉä¹æÉÕ¤­À°¿ô¤È¤·¤ÆÊÖ¤¹¡£
-¥¨¥é¡¼¤¬µ¯¤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢Âбþ¤¹¤ë
-.BR logb (3)
-´Ø¿ô¤ò
-.I int
-¤Ç¥­¥ã¥¹¥È¤·¤¿¤â¤Î¤ÈÅù²Á¤Ç¤¢¤ë¡£
-.SH ÊÖ¤êÃÍ
-À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
-.I x
-¤Î»Ø¿ôÉô¤òÉä¹æÉÕ¤­À°¿ô¤È¤·¤ÆÊÖ¤¹¡£
+.SH 説明
+これらの関数は引き数の指数部を符号付き整数として返す。 エラーが起らなかった場合、これらの関数は、対応する \fBlogb\fP(3)  関数を \fIint\fP
+でキャストしたものと等価である。
+.SH 返り値
+成功すると、これらの関数は \fIx\fP の指数部を符号付き整数として返す。
 
 .\" the POSIX.1 spec for logb() says logb() gives pole error for this
 .\" case, but for ilogb() it says domain error.
 .\" glibc: The numeric value is either `INT_MIN' or `-INT_MAX'.
-.I x
-¤¬¥¼¥í¤Î¾ì¹ç¡¢Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢
-.B FP_ILOGB0
-¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIx\fP がゼロの場合、領域エラー (domain error) が発生し、 \fBFP_ILOGB0\fP が返される。
 
 .\" glibc: The numeric value is either `INT_MIN' or `INT_MAX'.
 .\" On i386, FP_ILOGB0 and FP_ILOGBNAN have the same value.
-.I x
-¤¬ NaN ¤Î¾ì¹ç¡¢Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢
-.B FP_ILOGBNAN
-¤¬ÊÖ¤µ¤ì¤ë¡£
+\fIx\fP が NaN の場合、領域エラー (domain error) が発生し、 \fBFP_ILOGBNAN\fP が返される。
 
-.I x
-¤¬Éé¤Î̵¸ÂÂ礫Àµ¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢
-Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢
-.B INT_MAX
-¤¬ÊÖ¤µ¤ì¤ë¡£
 .\"
 .\" POSIX.1-2001 also says:
-.\" If  the correct value is greater than {INT_MAX}, {INT_MAX}
+.\" If the correct value is greater than {INT_MAX}, {INT_MAX}
 .\" shall be returned and a domain error shall occur.
 .\"
 .\" If the correct value is less than {INT_MIN}, {INT_MIN}
-.\" shall be returned and  a  domain  error  shall occur.
-.SH ¥¨¥é¡¼
-¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
-.BR math_error (7)
-¤ò»²¾È¤Î¤³¤È¡£
+.\" shall be returned and a domain error shall occur.
+\fIx\fP が負の無限大か正の無限大の場合、 領域エラー (domain error) が発生し、 \fBINT_MAX\fP が返される。
+.SH エラー
+これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
 .PP
-°Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
-.TP
-Îΰ襨¥é¡¼: \fIx\fP ¤¬ 0 ¤« NaN
+以下のエラーが発生する可能性がある。
+.TP 
+領域エラー: \fIx\fP が 0 か NaN
 .\" .I errno
 .\" is set to
 .\" .BR EDOM .
-ÉÔÀµ (invalid) ÉâÆ°¾®¿ôÅÀÎã³°
-.RB ( FE_INVALID )
-¤¬¾å¤¬¤ë¡£
+不正 (invalid) 浮動小数点例外 (\fBFE_INVALID\fP)  が上がる。
 .IP
-¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢¤³¤Î¾õ¶·¤Ç
-.I errno
-¤òÀßÄꤷ¤Ê¤¤¡£
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6794
-.TP
-Îΰ襨¥é¡¼: \fIx\fP ¤¬Ìµ¸ÂÂç
+これらの関数は、この場合に \fIerrno\fP を設定しない。
+.TP 
+領域エラー (domain error): \fIx\fP が無限大である
 .\" .I errno
 .\" is set to
 .\" .BR EDOM .
@@ -127,16 +117,19 @@ _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
 .\" .RB ( FE_INVALID )
 .\" is raised.
 .IP
-¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢¤³¤Î¾õ¶·¤Ç
-.I errno
-¤òÀßÄꤻ¤º¡¢Îã³°¤â¾å¤²¤Ê¤¤¡£
 .\" FIXME . Is it intentional that these functions do not set errno,
 .\" or raise an exception?
 .\" log(), log2(), log10() do set errno
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6794
-.SH ½àµò
-C99, POSIX.1-2001.
-.SH ´ØÏ¢¹àÌÜ
-.BR log (3),
-.BR logb (3),
-.BR significand (3)
+これらの関数は、この状況で \fIerrno\fP を設定せず、例外も上げない。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+The \fBilogb\fP(), \fBilogbf\fP(), and \fBilogbl\fP()  functions are thread\-safe.
+.SH 準拠
+C99, POSIX.1\-2001.
+.SH 関連項目
+\fBlog\fP(3), \fBlogb\fP(3), \fBsignificand\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。