OSDN Git Service

(split) LDP: Restore and add Copyrights for draft pages
[linuxjm/LDP_man-pages.git] / 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 .\" %%%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 .\"
41 .\" Japanese Version Copyright (c) 1996 Kenji Kajiwara and Kentaro Ogawa
42 .\"         all rights reserved.
43 .\" Translated Sat, 13 Jul 1996 17:58:16 JST
44 .\"         by Kenji Kajiwara and Kentaro Ogawa
45 .\" Proof Reading: Takashi Yoshino
46 .\" Updated Tue Aug  5 23:16:48 JST 2003
47 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
48 .\" Updated 2008-09-14, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
49 .\"
50 .TH ATANH 3 2010\-09\-11 "" "Linux Programmer's Manual"
51 .SH 名前
52 atanh, atanhf, atanhl \- 逆双曲線正接(inverse hyperbolic tangent)関数
53 .SH 書式
54 .nf
55 \fB#include <math.h>\fP
56 .sp
57 \fBdouble atanh(double \fP\fIx\fP\fB);\fP
58 .br
59 \fBfloat atanhf(float \fP\fIx\fP\fB);\fP
60 .br
61 \fBlong double atanhl(long double \fP\fIx\fP\fB);\fP
62 .sp
63 .fi
64 \fI\-lm\fP でリンクする。
65 .sp
66 .in -4n
67 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
68 .in
69 .sp
70 .ad l
71 \fBatanh\fP():
72 .RS 4
73 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L;
74 .br
75 or \fIcc\ \-std=c99\fP
76 .RE
77 .br
78 \fBatanhf\fP(), \fBatanhl\fP():
79 .RS 4
80 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE
81 || _POSIX_C_SOURCE\ >=\ 200112L;
82 .br
83 or \fIcc\ \-std=c99\fP
84 .RE
85 .ad b
86 .SH 説明
87 \fBatanh\fP()  関数は \fIx\fP の逆双曲線正接 (inverse hyperbolic tangent) を計算する。
88 すなわち、その双曲線正接 (hyperbolic tangent) が \fIx\fP になる ような値である。
89 .SH 返り値
90 成功すると、これらの関数は \fIx\fP の逆双曲線正接を返す。
91
92 \fIx\fP が NaN の場合、NaN が返される。
93
94 \fIx\fP が +0 (\-0) の場合、+0 (\-0) が返される。
95
96 \fIx\fP が +1 か \-1 の場合、 極エラー (pole error) が発生し、 関数の種類に応じて、数学的に正しい符号の
97 \fBHUGE_VAL\fP, \fBHUGE_VALF\fP, \fBHUGE_VALL\fP がそれぞれ返される。
98
99 .\"
100 .\" POSIX.1-2001 documents an optional range error for subnormal x;
101 .\" glibc 2.8 does not do this.
102 \fIx\fP の絶対値が 1 より大きい場合、 領域エラー (domain error) が発生し、 NaN が返される。
103 .SH エラー
104 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
105 .PP
106 以下のエラーが発生する可能性がある。
107 .TP 
108 領域エラー (domain error): \fIx\fP が \-1 より小さいか +1 より大きい
109 \fIerrno\fP に \fBEDOM\fP が設定される。 不正 (invalid) 浮動小数点例外 (\fBFE_INVALID\fP)  が上がる。
110 .TP 
111 極エラー (pole error): \fIx\fP が +1 か \-1
112 \fIerrno\fP に \fBERANGE\fP が設定される (「バグ」の節も参照)。 0 による除算 (divide\-by\-zero) 浮動小数点例外
113 (\fBFE_DIVBYZERO\fP)  が上がる。
114 .SH 準拠
115 C99, POSIX.1\-2001.  \fIdouble\fP 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
116 .SH バグ
117 .\" Bug: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
118 .\" This can be seen in sysdeps/ieee754/k_standard.c
119 glibc 2.9 とそれ以前のバージョンでは、 極エラーが発生した場合、POSIX で要求されている \fBERANGE\fP ではなく \fBEDOM\fP が
120 \fIerrno\fP に設定される。 バージョン 2.10 以降の glibc では、正しい動作をする。
121 .SH 関連項目
122 \fBacosh\fP(3), \fBasinh\fP(3), \fBcatanh\fP(3), \fBcosh\fP(3), \fBsinh\fP(3), \fBtanh\fP(3)
123 .SH この文書について
124 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
125 である。プロジェクトの説明とバグ報告に関する情報は
126 http://www.kernel.org/doc/man\-pages/ に書かれている。