1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3 .\" <mtk.manpages@gmail.com>
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" References consulted:
26 .\" Linux libc source code
27 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
29 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
30 .\" Modified 2002-07-27 by Walter Harms
31 .\" (walter.harms@informatik.uni-oldenburg.de)
33 .\" Japanese Version Copyright (c) 1996 Kenji Kajiwara and Kentaro Ogawa
34 .\" all rights reserved.
35 .\" Translated Sat, 13 Jul 1996 17:58:16 JST
36 .\" by Kenji Kajiwara and Kentaro Ogawa
37 .\" Proof Reading: Takashi Yoshino
38 .\" Updated Tue Aug 5 23:16:48 JST 2003
39 .\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
40 .\" Updated 2008-09-14, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
42 .TH ATANH 3 2008-08-05 "" "Linux Programmer's Manual"
45 .\"O atanh, atanhf, atanhl \- inverse hyperbolic tangent function
46 atanh, atanhf, atanhl \- µÕÁжÊÀþÀµÀÜ¡Êinverse hyperbolic tangent¡Ë´Ø¿ô
52 .BI "double atanh(double " x );
54 .BI "float atanhf(float " x );
56 .BI "long double atanhl(long double " x );
59 .\"O Link with \fI\-lm\fP.
60 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
63 .\"O Feature Test Macro Requirements for glibc (see
64 .\"O .BR feature_test_macros (7)):
65 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
66 .RB ( feature_test_macros (7)
72 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
77 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
84 .\"O function calculates the inverse hyperbolic tangent of
85 .\"O \fIx\fP; that is the value whose hyperbolic tangent is \fIx\fP.
87 ´Ø¿ô¤Ï \fIx\fP ¤ÎµÕÁжÊÀþÀµÀÜ (inverse hyperbolic tangent) ¤ò·×»»¤¹¤ë¡£
88 ¤¹¤Ê¤ï¤Á¡¢¤½¤ÎÁжÊÀþÀµÀÜ (hyperbolic tangent) ¤¬ \fIx\fP ¤Ë¤Ê¤ë
90 .\"O .SH "RETURN VALUE"
92 .\"O On success, these functions return the inverse hyperbolic tangent of
94 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
96 ¤ÎµÕÁжÊÀþÀµÀܤòÊÖ¤¹¡£
100 .\"O is a NaN, a NaN is returned.
102 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
106 .\"O is +0 (\-0), +0 (\-0) is returned.
108 ¤¬ +0 (\-0) ¤Î¾ì¹ç¡¢+0 (\-0) ¤¬ÊÖ¤µ¤ì¤ë¡£
113 .\"O a pole error occurs,
114 .\"O and the functions return
119 .\"O respectively, with the mathematically correct sign.
121 ¤¬ +1 ¤« \-1 ¤Î¾ì¹ç¡¢
122 ¶Ë¥¨¥é¡¼ (pole error) ¤¬È¯À¸¤·¡¢
123 ´Ø¿ô¤Î¼ïÎà¤Ë±þ¤¸¤Æ¡¢¿ô³ØŪ¤ËÀµ¤·¤¤Éä¹æ¤Î
129 .\"O If the absolute value of
131 .\"O is greater than 1,
132 .\"O a domain error occurs,
133 .\"O and a NaN is returned.
135 ¤ÎÀäÂÐÃͤ¬ 1 ¤è¤êÂ礤¤¾ì¹ç¡¢
136 Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢
139 .\" POSIX.1-2001 documents an optional range error for subnormal x;
140 .\" glibc 2.8 does not do this.
144 .\"O .BR math_error (7)
145 .\"O for information on how to determine whether an error has occurred
146 .\"O when calling these functions.
147 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
151 .\"O The following errors can occur:
152 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ¤¬¤¢¤ë¡£
154 .\"O Domain error: \fIx\fP less than \-1 or greater than +1
155 Îΰ襨¥é¡¼ (domain error): \fIx\fP ¤¬ \-1 ¤è¤ê¾®¤µ¤¤¤« +1 ¤è¤êÂ礤¤
159 .\"O An invalid floating-point exception
160 .\"O .RB ( FE_INVALID )
166 ̵¸ú (invalid) ÉâÆ°¾®¿ôÅÀÎã³°
170 .\"O Pole error: \fIx\fP is +1 or \-1
171 ¶Ë¥¨¥é¡¼ (pole error): \fIx\fP ¤¬ +1 ¤« \-1
179 ¤¬ÀßÄꤵ¤ì¤ë (⤷¡Ö¥Ð¥°¡×¤ÎÀá¤â»²¾È)¡£
180 .\" FIXME . glibc actually gives EDOM for this case
181 .\"O A divide-by-zero floating-point exception
182 .\"O .RB ( FE_DIVBYZERO )
184 0 ¤Ë¤è¤ë½ü»» (divide-by-zero) ÉâÆ°¾®¿ôÅÀÎã³°
187 .\"O .SH "CONFORMING TO"
190 .\"O The variant returning
192 .\"O also conforms to
193 .\"O SVr4, 4.3BSD, C89.
195 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
198 .\"O For a pole error,
201 .\" FIXME . this is as at glibc 2.8; check later if this bug is fixed
202 .\" This can be seen in sysdeps/ieee754/k_standard.c
203 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
211 .\"O POSIX.1 says it should be set to
215 ¤òÀßÄꤹ¤Ù¤¤È¤Ê¤Ã¤Æ¤¤¤ë¡£