OSDN Git Service

(split) LDP_man-pages: release ioctl.2 [JM:00378]
[linuxjm/LDP_man-pages.git] / draft / 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 .\"O .SH NAME
44 .SH Ì¾Á°
45 .\"O acosh, acoshf, acoshl \- inverse hyperbolic cosine function
46 acosh, acoshf, acoshl \- µÕÁжÊÀþ;¸¹¡Êinverse hyperbolic cosine¡Ë´Ø¿ô
47 .\"O .SH SYNOPSIS
48 .SH ½ñ¼°
49 .nf
50 .B #include <math.h>
51 .sp
52 .BI "double acosh(double " x );
53 .br
54 .BI "float acoshf(float " x );
55 .br
56 .BI "long double acoshl(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 acosh ():
72 .RS 4
73 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
74 _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
75 _POSIX_C_SOURCE\ >=\ 200112L;
76 .br
77 or
78 .I cc\ -std=c99
79 .RE
80 .br
81 .BR acoshf (),
82 .BR acoshl ():
83 .RS 4
84 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
85 _POSIX_C_SOURCE\ >=\ 200112L;
86 .br
87 or
88 .I cc\ -std=c99
89 .RE
90 .ad b
91 .\"O .SH DESCRIPTION
92 .SH ÀâÌÀ
93 .\"O The
94 .\"O .BR acosh ()
95 .\"O function calculates the inverse hyperbolic cosine of
96 .\"O \fIx\fP; that is the value whose hyperbolic cosine is \fIx\fP.
97 .BR acosh ()
98 ´Ø¿ô¤Ï \fIx\fP ¤ÎµÕÁжÊÀþ;¸¹¡Êinverse hyperbolic cosine¡Ë¤ò
99 ·×»»¤¹¤ë¡£
100 ¤¹¤Ê¤ï¤Á¡¢¤½¤ÎÁжÊÀþ;¸¹¡Êhyperbolic cosine¡Ë¤¬ \fIx\fP ¤Ë
101 ¤Ê¤ë¤è¤¦¤ÊÃͤǤ¢¤ë¡£
102 .\"O .SH "RETURN VALUE"
103 .SH ÊÖ¤êÃÍ
104 .\"O On success, these functions return the inverse hyperbolic cosine of
105 .\"O .IR x .
106 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
107 .I x
108 ¤ÎµÕÁжÊÀþ;¸¹¤òÊÖ¤¹¡£
109
110 .\"O If
111 .\"O .I x
112 .\"O is a NaN, a NaN is returned.
113 .I x
114 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
115
116 .\"O If
117 .\"O .I x
118 .\"O is +1, +0 is returned.
119 .I x
120 ¤¬ +1 ¤Î¾ì¹ç¡¢+0 ¤¬ÊÖ¤µ¤ì¤ë¡£
121
122 .\"O If
123 .\"O .I x
124 .\"O is positive infinity, positive infinity is returned.
125 .I x
126 ¤¬Àµ¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢Àµ¤Î̵¸ÂÂ礬ÊÖ¤µ¤ì¤ë¡£
127
128 .\"O If
129 .\"O .I x
130 .\"O is less than 1,
131 .\"O a domain error occurs,
132 .\"O and the functions return a NaN.
133 .I x
134 ¤¬ 1 ¤è¤ê¾®¤µ¤¤¾ì¹ç¡¢
135 Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
136 .\"O .SH ERRORS
137 .SH ¥¨¥é¡¼
138 .\"O See
139 .\"O .BR math_error (7)
140 .\"O for information on how to determine whether an error has occurred
141 .\"O when calling these functions.
142 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
143 .BR math_error (7)
144 ¤ò»²¾È¤Î¤³¤È¡£
145 .PP
146 .\"O The following errors can occur:
147 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
148 .TP
149 .\"O Domain error: \fIx\fP is less than 1
150 Îΰ襨¥é¡¼ (domain error): \fIx\fP ¤¬ 1 ¤è¤ê¾®¤µ¤¤
151 .\"O .I errno
152 .\"O is set to
153 .\"O .BR EDOM .
154 .\"O An invalid floating-point exception
155 .\"O .RB ( FE_INVALID )
156 .\"O is raised.
157 .I errno
158 ¤Ë
159 .B EDOM
160 ¤¬ÀßÄꤵ¤ì¤ë¡£
161 ̵¸ú (invalid) ÉâÆ°¾®¿ôÅÀÎã³°
162 .RB ( FE_INVALID )
163 ¤¬¾å¤¬¤ë¡£
164 .\"O .SH "CONFORMING TO"
165 .SH ½àµò
166 C99, POSIX.1-2001.
167 .\"O The variant returning
168 .\"O .I double
169 .\"O also conforms to
170 .\"O SVr4, 4.3BSD, C89.
171 .I double
172 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
173 .\"O .SH "SEE ALSO"
174 .SH ´ØÏ¢¹àÌÜ
175 .BR asinh (3),
176 .BR atanh (3),
177 .BR cacosh (3),
178 .BR cosh (3),
179 .BR sinh (3),
180 .BR tanh (3)