OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / release / man3 / expm1.3
index fcde6c5..378b2b0 100644 (file)
@@ -30,7 +30,7 @@
 .\" Update Tue Sep 23 2003 by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\"
-.TH EXPM1 3  2008-08-05 "" "Linux Programmer's Manual"
+.TH EXPM1 3  2010-09-12 "" "Linux Programmer's Manual"
 .SH Ì¾Á°
 expm1, expm1f, expm1l \- °ú¤­¿ô¤Î»Ø¿ô¤«¤é 1 ¤ò°ú¤¤¤¿ÃÍ
 .SH ½ñ¼°
@@ -54,13 +54,24 @@ glibc 
 .sp
 .ad l
 .BR expm1 ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or
 .I cc\ -std=c99
+.RE
 .br
 .BR expm1f (),
 .BR expm1l ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or
 .I cc\ -std=c99
+.RE
 .ad b
 .SH ÀâÌÀ
 .BI expm1( x )
@@ -105,19 +116,14 @@ _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
 .TP
 ÈÏ°Ï¥¨¥é¡¼ (range error)¡¢¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤Î¾ì¹ç
-.\" .I errno
-.\" is set to
-.\" .BR ERANGE .
+.I errno
+¤Ë
+.B ERANGE
+¤¬ÀßÄꤵ¤ì¤ë (¡Ö¥Ð¥°¡×¤ÎÀá¤â»²¾È)¡£
 ¥ª¡¼¥Ð¡¼¥Õ¥í¡¼ÉâÆ°¾®¿ôÅÀÎã³°
 .RB ( FE_OVERFLOW )
 ¤¬¾å¤¬¤ë¡£
 .PP
-¤³¤ì¤é¤Î´Ø¿ô¤Ï
-.I errno
-¤òÀßÄꤷ¤Ê¤¤¡£
-.\" FIXME . Is it intentional that these functions do not set errno?
-.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6788
-.\"
 .\"
 .\" POSIX.1 specifies an optional range error (underflow) if
 .\" x is subnormal.  Glibc does not implement this.
@@ -142,6 +148,18 @@ C99, POSIX.1-2001.
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6814
 .\" e.g., expm1(1e5) through expm1(1.00199970127e5),
 .\" but not expm1(1.00199970128e5) and beyond.
+
+.\" It looks like the fix was in 2.11, or possibly 2.12.
+.\" I have no test system for 2.11, but 2.12 passes.
+.\" From the source (sysdeps/i386/fpu/s_expm1.S) it looks
+.\" like the changes were in 2.11.
+.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6788
+¥Ð¡¼¥¸¥ç¥ó 2.11 ¤è¤êÁ°¤Î glibc ¤Î¼ÂÁõ¤Ç¤Ï¡¢
+ÈÏ°Ï¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¤Ë¡¢
+.I errno
+¤Ë
+.B ERANGE
+¤¬ÀßÄꤵ¤ì¤Ê¤«¤Ã¤¿¡£
 .SH ´ØÏ¢¹àÌÜ
 .BR exp (3),
 .BR log (3),