OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / draft / man3 / atanh.3
index 5540ded..ce1309e 100644 (file)
@@ -39,7 +39,7 @@
 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\" Updated 2008-09-14, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\"
-.TH ATANH 3  2008-08-05 "" "Linux Programmer's Manual"
+.TH ATANH 3  2010-09-11 "" "Linux Programmer's Manual"
 .\"O .SH NAME
 .SH Ì¾Á°
 .\"O atanh, atanhf, atanhl \- inverse hyperbolic tangent function
@@ -69,13 +69,24 @@ glibc 
 .sp
 .ad l
 .BR atanh ():
-_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 atanhf (),
 .BR atanhl ():
-_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
 .\"O .SH DESCRIPTION
 .SH ÀâÌÀ
@@ -177,7 +188,6 @@ NaN 
 ¤Ë
 .B ERANGE
 ¤¬ÀßÄꤵ¤ì¤ë (⤷¡Ö¥Ð¥°¡×¤ÎÀá¤â»²¾È)¡£
-.\" FIXME . glibc actually gives EDOM for this case
 .\"O A divide-by-zero floating-point exception
 .\"O .RB ( FE_DIVBYZERO )
 .\"O is raised.
@@ -195,24 +205,25 @@ C99, POSIX.1-2001.
 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
 .\"O .SH BUGS
 .SH ¥Ð¥°
-.\"O For a pole error,
-¶Ë¥¨¥é¡¼¤Î¾ì¹ç¤Ë¡¢
-.\"
-.\" FIXME . this is as at glibc 2.8; check later if this bug is fixed
+.\"O In glibc 2.9 and earlier,
+.\" Bug: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
 .\" This can be seen in sysdeps/ieee754/k_standard.c
-.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
+.\"O when a pole error occurs,
 .\"O .I errno
-.\"O is set to
-.\"O .BR EDOM ;
-.I errno
-¤Ë
-.B EDOM
-¤¬ÀßÄꤵ¤ì¤ë¡£
-.\"O POSIX.1 says it should be set to
+.\"O as set to
+.\"O .BR EDOM
+.\"O instead of the POSIX-mandated
 .\"O .BR ERANGE .
-POSIX.1 ¤Ç¤Ï¡¢
+.\"O Since version 2.10, glibc does the right thing.
+glibc 2.9 ¤È¤½¤ì°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¡¢
+¶Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢POSIX ¤ÇÍ׵ᤵ¤ì¤Æ¤¤¤ë
 .B ERANGE
-¤òÀßÄꤹ¤Ù¤­¤È¤Ê¤Ã¤Æ¤¤¤ë¡£
+¤Ç¤Ï¤Ê¤¯
+.B EDOM
+¤¬
+.I errno
+¤ËÀßÄꤵ¤ì¤ë¡£
+¥Ð¡¼¥¸¥ç¥ó 2.10 °Ê¹ß¤Î glibc ¤Ç¤Ï¡¢Àµ¤·¤¤Æ°ºî¤ò¤¹¤ë¡£
 .\"O .SH "SEE ALSO"
 .SH ´ØÏ¢¹àÌÜ
 .BR acosh (3),