OSDN Git Service

f4c8a1871c7280c34d9ace9235f16551dc2710f5
[linuxjm/LDP_man-pages.git] / release / man3 / acosh.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-25 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 ACOSH 3   2010-09-20 "" "Linux Programmer's Manual"
43 .SH 名前
44 acosh, acoshf, acoshl \- 逆双曲線余弦(inverse hyperbolic cosine)関数
45 .SH 書式
46 .nf
47 .B #include <math.h>
48 .sp
49 .BI "double acosh(double " x );
50 .br
51 .BI "float acoshf(float " x );
52 .br
53 .BI "long double acoshl(long double " x );
54 .sp
55 .fi
56 \fI\-lm\fP でリンクする。
57 .sp
58 .in -4n
59 glibc 向けの機能検査マクロの要件
60 .RB ( feature_test_macros (7)
61 参照):
62 .in
63 .sp
64 .ad l
65 .BR acosh ():
66 .RS 4
67 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
68 _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
69 _POSIX_C_SOURCE\ >=\ 200112L;
70 .br
71 or
72 .I cc\ -std=c99
73 .RE
74 .br
75 .BR acoshf (),
76 .BR acoshl ():
77 .RS 4
78 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
79 _POSIX_C_SOURCE\ >=\ 200112L;
80 .br
81 or
82 .I cc\ -std=c99
83 .RE
84 .ad b
85 .SH 説明
86 .BR acosh ()
87 関数は \fIx\fP の逆双曲線余弦(inverse hyperbolic cosine)を
88 計算する。
89 すなわち、その双曲線余弦(hyperbolic cosine)が \fIx\fP に
90 なるような値である。
91 .SH 返り値
92 成功すると、これらの関数は
93 .I x
94 の逆双曲線余弦を返す。
95
96 .I x
97 が NaN の場合、NaN が返される。
98
99 .I x
100 が +1 の場合、+0 が返される。
101
102 .I x
103 が正の無限大の場合、正の無限大が返される。
104
105 .I x
106 が 1 より小さい場合、
107 領域エラー (domain error) が発生し、NaN が返される。
108 .SH エラー
109 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
110 .BR math_error (7)
111 を参照のこと。
112 .PP
113 以下のエラーが発生する可能性がある。
114 .TP
115 領域エラー (domain error): \fIx\fP が 1 より小さい
116 .I errno
117
118 .B EDOM
119 が設定される。
120 無効 (invalid) 浮動小数点例外
121 .RB ( FE_INVALID )
122 が上がる。
123 .SH 準拠
124 C99, POSIX.1-2001.
125 .I double
126 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
127 .SH 関連項目
128 .BR asinh (3),
129 .BR atanh (3),
130 .BR cacosh (3),
131 .BR cosh (3),
132 .BR sinh (3),
133 .BR tanh (3)