OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / 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 .\" %%%LICENSE_START(VERBATIM)
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
9 .\"
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
14 .\"
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein.  The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" %%%LICENSE_END
26 .\"
27 .\" References consulted:
28 .\"     Linux libc source code
29 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
30 .\"     386BSD man pages
31 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
32 .\" Modified 2002-07-27 by Walter Harms
33 .\"     (walter.harms@informatik.uni-oldenburg.de)
34 .\"
35 .\"*******************************************************************
36 .\"
37 .\" This file was generated with po4a. Translate the source file.
38 .\"
39 .\"*******************************************************************
40 .TH ATANH 3 2010\-09\-11 "" "Linux Programmer's Manual"
41 .SH 名前
42 atanh, atanhf, atanhl \- 逆双曲線正接(inverse hyperbolic tangent)関数
43 .SH 書式
44 .nf
45 \fB#include <math.h>\fP
46 .sp
47 \fBdouble atanh(double \fP\fIx\fP\fB);\fP
48 .br
49 \fBfloat atanhf(float \fP\fIx\fP\fB);\fP
50 .br
51 \fBlong double atanhl(long double \fP\fIx\fP\fB);\fP
52 .sp
53 .fi
54 \fI\-lm\fP でリンクする。
55 .sp
56 .in -4n
57 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
58 .in
59 .sp
60 .ad l
61 \fBatanh\fP():
62 .RS 4
63 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L;
64 .br
65 or \fIcc\ \-std=c99\fP
66 .RE
67 .br
68 \fBatanhf\fP(), \fBatanhl\fP():
69 .RS 4
70 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
71 || _POSIX_C_SOURCE\ >=\ 200112L;
72 .br
73 or \fIcc\ \-std=c99\fP
74 .RE
75 .ad b
76 .SH 説明
77 \fBatanh\fP()  関数は \fIx\fP の逆双曲線正接 (inverse hyperbolic tangent) を計算する。
78 すなわち、その双曲線正接 (hyperbolic tangent) が \fIx\fP になる ような値である。
79 .SH 返り値
80 成功すると、これらの関数は \fIx\fP の逆双曲線正接を返す。
81
82 \fIx\fP が NaN の場合、NaN が返される。
83
84 \fIx\fP が +0 (\-0) の場合、+0 (\-0) が返される。
85
86 \fIx\fP が +1 か \-1 の場合、 極エラー (pole error) が発生し、 関数の種類に応じて、数学的に正しい符号の
87 \fBHUGE_VAL\fP, \fBHUGE_VALF\fP, \fBHUGE_VALL\fP がそれぞれ返される。
88
89 .\"
90 .\" POSIX.1-2001 documents an optional range error for subnormal x;
91 .\" glibc 2.8 does not do this.
92 \fIx\fP の絶対値が 1 より大きい場合、 領域エラー (domain error) が発生し、 NaN が返される。
93 .SH エラー
94 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
95 .PP
96 以下のエラーが発生する可能性がある。
97 .TP 
98 領域エラー (domain error): \fIx\fP が \-1 より小さいか +1 より大きい
99 \fIerrno\fP に \fBEDOM\fP が設定される。 不正 (invalid) 浮動小数点例外 (\fBFE_INVALID\fP)  が上がる。
100 .TP 
101 極エラー (pole error): \fIx\fP が +1 か \-1
102 \fIerrno\fP に \fBERANGE\fP が設定される (「バグ」の節も参照)。 0 による除算 (divide\-by\-zero) 浮動小数点例外
103 (\fBFE_DIVBYZERO\fP)  が上がる。
104 .SH 準拠
105 C99, POSIX.1\-2001.  \fIdouble\fP 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
106 .SH バグ
107 .\" Bug: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
108 .\" This can be seen in sysdeps/ieee754/k_standard.c
109 glibc 2.9 とそれ以前のバージョンでは、 極エラーが発生した場合、POSIX で要求されている \fBERANGE\fP ではなく \fBEDOM\fP が
110 \fIerrno\fP に設定される。 バージョン 2.10 以降の glibc では、正しい動作をする。
111 .SH 関連項目
112 \fBacosh\fP(3), \fBasinh\fP(3), \fBcatanh\fP(3), \fBcosh\fP(3), \fBsinh\fP(3), \fBtanh\fP(3)
113 .SH この文書について
114 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
115 である。プロジェクトの説明とバグ報告に関する情報は
116 http://www.kernel.org/doc/man\-pages/ に書かれている。