OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man3 / atanh.3
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>
4 .\"
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.
8 .\"
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.
13 .\"
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
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\"
25 .\" References consulted:
26 .\"     Linux libc source code
27 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
28 .\"     386BSD man pages
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)
32 .\"
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>
41 .\"
42 .TH ATANH 3  2008-08-05 "" "Linux Programmer's Manual"
43 .\"O .SH NAME
44 .SH Ì¾Á°
45 .\"O atanh, atanhf, atanhl \- inverse hyperbolic tangent function
46 atanh, atanhf, atanhl \- µÕÁжÊÀþÀµÀÜ¡Êinverse hyperbolic tangent¡Ë´Ø¿ô
47 .\"O .SH SYNOPSIS
48 .SH ½ñ¼°
49 .nf
50 .B #include <math.h>
51 .sp
52 .BI "double atanh(double " x );
53 .br
54 .BI "float atanhf(float " x );
55 .br
56 .BI "long double atanhl(long double " x );
57 .sp
58 .fi
59 .\"O Link with \fI\-lm\fP.
60 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
61 .sp
62 .in -4n
63 .\"O Feature Test Macro Requirements for glibc (see
64 .\"O .BR feature_test_macros (7)):
65 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
66 .RB ( feature_test_macros (7)
67 »²¾È):
68 .in
69 .sp
70 .ad l
71 .BR atanh ():
72 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
73 .I cc\ -std=c99
74 .br
75 .BR atanhf (),
76 .BR atanhl ():
77 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
78 .I cc\ -std=c99
79 .ad b
80 .\"O .SH DESCRIPTION
81 .SH ÀâÌÀ
82 .\"O The
83 .\"O .BR atanh ()
84 .\"O function calculates the inverse hyperbolic tangent of
85 .\"O \fIx\fP; that is the value whose hyperbolic tangent is \fIx\fP.
86 .BR atanh ()
87 ´Ø¿ô¤Ï \fIx\fP ¤ÎµÕÁжÊÀþÀµÀÜ (inverse hyperbolic tangent) ¤ò·×»»¤¹¤ë¡£
88 ¤¹¤Ê¤ï¤Á¡¢¤½¤ÎÁжÊÀþÀµÀÜ (hyperbolic tangent) ¤¬ \fIx\fP ¤Ë¤Ê¤ë
89 ¤è¤¦¤ÊÃͤǤ¢¤ë¡£
90 .\"O .SH "RETURN VALUE"
91 .SH ÊÖ¤êÃÍ
92 .\"O On success, these functions return the inverse hyperbolic tangent of
93 .\"O .IR x .
94 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
95 .I x
96 ¤ÎµÕÁжÊÀþÀµÀܤòÊÖ¤¹¡£
97
98 .\"O If
99 .\"O .I x
100 .\"O is a NaN, a NaN is returned.
101 .I x
102 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
103
104 .\"O If
105 .\"O .I x
106 .\"O is +0 (\-0), +0 (\-0) is returned.
107 .I x
108 ¤¬ +0 (\-0) ¤Î¾ì¹ç¡¢+0 (\-0) ¤¬ÊÖ¤µ¤ì¤ë¡£
109
110 .\"O If
111 .\"O .I x
112 .\"O is +1 or \-1,
113 .\"O a pole error occurs,
114 .\"O and the functions return
115 .\"O .BR HUGE_VAL ,
116 .\"O .BR HUGE_VALF ,
117 .\"O or
118 .\"O .BR HUGE_VALL ,
119 .\"O respectively, with the mathematically correct sign.
120 .I x
121 ¤¬ +1 ¤« \-1 ¤Î¾ì¹ç¡¢
122 ¶Ë¥¨¥é¡¼ (pole error) ¤¬È¯À¸¤·¡¢
123 ´Ø¿ô¤Î¼ïÎà¤Ë±þ¤¸¤Æ¡¢¿ô³ØŪ¤ËÀµ¤·¤¤Éä¹æ¤Î
124 .BR HUGE_VAL ,
125 .BR HUGE_VALF ,
126 .BR HUGE_VALL
127 ¤¬¤½¤ì¤¾¤ìÊÖ¤µ¤ì¤ë¡£
128
129 .\"O If the absolute value of
130 .\"O .I x
131 .\"O is greater than 1,
132 .\"O a domain error occurs,
133 .\"O and a NaN is returned.
134 .I x
135 ¤ÎÀäÂÐÃͤ¬ 1 ¤è¤êÂ礭¤¤¾ì¹ç¡¢
136 Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢
137 NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
138 .\"
139 .\" POSIX.1-2001 documents an optional range error for subnormal x;
140 .\" glibc 2.8 does not do this.
141 .\"O .SH ERRORS
142 .SH ¥¨¥é¡¼
143 .\"O See
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 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
148 .BR math_error (7)
149 ¤ò»²¾È¤Î¤³¤È¡£
150 .PP
151 .\"O The following errors can occur:
152 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
153 .TP
154 .\"O Domain error: \fIx\fP less than \-1 or greater than +1
155 Îΰ襨¥é¡¼ (domain error): \fIx\fP ¤¬ \-1 ¤è¤ê¾®¤µ¤¤¤« +1 ¤è¤êÂ礭¤¤
156 .\"O .I errno
157 .\"O is set to
158 .\"O .BR EDOM .
159 .\"O An invalid floating-point exception
160 .\"O .RB ( FE_INVALID )
161 .\"O is raised.
162 .I errno
163 ¤Ë
164 .B EDOM
165 ¤¬ÀßÄꤵ¤ì¤ë¡£
166 ̵¸ú (invalid) ÉâÆ°¾®¿ôÅÀÎã³°
167 .RB ( FE_INVALID )
168 ¤¬¾å¤¬¤ë¡£
169 .TP
170 .\"O Pole error: \fIx\fP is +1 or \-1
171 ¶Ë¥¨¥é¡¼ (pole error): \fIx\fP ¤¬ +1 ¤« \-1
172 .\"O .I errno
173 .\"O is set to
174 .\"O .BR ERANGE
175 .\"O (but see BUGS).
176 .I errno
177 ¤Ë
178 .B ERANGE
179 ¤¬ÀßÄꤵ¤ì¤ë (⤷¡Ö¥Ð¥°¡×¤ÎÀá¤â»²¾È)¡£
180 .\" FIXME . glibc actually gives EDOM for this case
181 .\"O A divide-by-zero floating-point exception
182 .\"O .RB ( FE_DIVBYZERO )
183 .\"O is raised.
184 0 ¤Ë¤è¤ë½ü»» (divide-by-zero) ÉâÆ°¾®¿ôÅÀÎã³°
185 .RB ( FE_DIVBYZERO )
186 ¤¬¾å¤¬¤ë¡£
187 .\"O .SH "CONFORMING TO"
188 .SH ½àµò
189 C99, POSIX.1-2001.
190 .\"O The variant returning
191 .\"O .I double
192 .\"O also conforms to
193 .\"O SVr4, 4.3BSD, C89.
194 .I double
195 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
196 .\"O .SH BUGS
197 .SH ¥Ð¥°
198 .\"O For a pole error,
199 ¶Ë¥¨¥é¡¼¤Î¾ì¹ç¤Ë¡¢
200 .\"
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
204 .\"O .I errno
205 .\"O is set to
206 .\"O .BR EDOM ;
207 .I errno
208 ¤Ë
209 .B EDOM
210 ¤¬ÀßÄꤵ¤ì¤ë¡£
211 .\"O POSIX.1 says it should be set to
212 .\"O .BR ERANGE .
213 POSIX.1 ¤Ç¤Ï¡¢
214 .B ERANGE
215 ¤òÀßÄꤹ¤Ù¤­¤È¤Ê¤Ã¤Æ¤¤¤ë¡£
216 .\"O .SH "SEE ALSO"
217 .SH ´ØÏ¢¹àÌÜ
218 .BR acosh (3),
219 .BR asinh (3),
220 .BR catanh (3),
221 .BR cosh (3),
222 .BR sinh (3),
223 .BR tanh (3)