OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / release / man3 / acos.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:50:45 JST
36 .\"         by Kenji Kajiwara and Kentaro Ogawa
37 .\" Proof Reading: Takashi Yoshino
38 .\" Updated Tue Aug  5 23:12:59 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 ACOS 3  2010-09-20 "" "Linux Programmer's Manual"
43 .SH Ì¾Á°
44 acos, acosf, acosl \- µÕ;¸¹¡Êarc cosine¡Ë´Ø¿ô
45 .SH ½ñ¼°
46 .nf
47 .B #include <math.h>
48 .sp
49 .BI "double acos(double " x );
50 .BI "float acosf(float " x );
51 .BI "long double acosl(long double " x );
52 .fi
53 .sp
54 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
55 .sp
56 .in -4n
57 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
58 .RB ( feature_test_macros (7)
59 »²¾È):
60 .in
61 .sp
62 .ad l
63 .BR acosf (),
64 .BR acosl ():
65 .RS 4
66 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
67 _POSIX_C_SOURCE\ >=\ 200112L;
68 .br
69 or
70 .I cc\ -std=c99
71 .RE
72 .ad b
73 .SH ÀâÌÀ
74 .BR acos ()
75 ´Ø¿ô¤Ï \fIx\fP ¤ÎµÕ;¸¹¡Êarc cosine) ¤ò·×»»¤¹¤ë¡£
76 ¤¹¤Ê¤ï¤Á¡¢¤½¤Î;¸¹ (cosine) ¤¬ \fIx\fP ¤È¤Ê¤ëÃͤǤ¢¤ë¡£
77 .SH ÊÖ¤êÃÍ
78 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
79 .I x
80 ¤ÎµÕ;¸¹¤ò¥é¥¸¥¢¥óñ°Ì¤ÇÊÖ¤¹¡£
81 ÊÖ¤êÃͤϠ[0,\ pi] ¤ÎÈϰϤȤʤ롣
82
83 .I x
84 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
85
86 .I x
87 ¤¬ +1 ¤Î¾ì¹ç¡¢+0 ¤¬ÊÖ¤µ¤ì¤ë¡£
88
89 .I x
90 ¤¬Àµ¤Î̵¸ÂÂ礫Éé¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢
91 Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
92
93 .I x
94 ¤¬ [\-1,\ 1] ¤ÎÈϰϤËÆþ¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
95 Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
96 .SH ¥¨¥é¡¼
97 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
98 .BR math_error (7)
99 ¤ò»²¾È¤Î¤³¤È¡£
100 .PP
101 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
102 .TP
103 Îΰ襨¥é¡¼ (domain error): \fIx\fP ¤¬ [\-1,\ 1] ¤ÎÈϰϤËÆþ¤Ã¤Æ¤¤¤Ê¤¤
104 .I errno
105 ¤Ë
106 .B EDOM
107 ¤¬ÀßÄꤵ¤ì¤ë¡£
108 ̵¸ú (invalid) ÉâÆ°¾®¿ôÅÀÎã³°
109 .RB ( FE_INVALID )
110 ¤¬¾å¤¬¤ë¡£
111 .SH ½àµò
112 C99, POSIX.1-2001.
113 .I double
114 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
115 .SH ´ØÏ¢¹àÌÜ
116 .BR asin (3),
117 .BR atan (3),
118 .BR atan2 (3),
119 .BR cacos (3),
120 .BR cos (3),
121 .BR sin (3),
122 .BR tan (3)