OSDN Git Service

(split) LDP_man-pages: release ioctl.2 [JM:00378]
[linuxjm/LDP_man-pages.git] / draft / man3 / atan.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-27 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: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 ATAN 3  2010-09-20 "" "Linux Programmer's Manual"
43 .\"O .SH NAME
44 .SH Ì¾Á°
45 .\"O atan, atanf, atanl \- arc tangent function
46 atan, atanf, atanl \- µÕÀµÀÜ¡Êarc tangent¡Ë´Ø¿ô
47 .\"O .SH SYNOPSIS
48 .SH ½ñ¼°
49 .nf
50 .B #include <math.h>
51 .sp
52 .BI "double atan(double " x );
53 .br
54 .BI "float atanf(float " x );
55 .br
56 .BI "long double atanl( 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 atanf (),
72 .BR atanl ():
73 .RS 4
74 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
75 _POSIX_C_SOURCE\ >=\ 200112L;
76 .br
77 or
78 .I cc\ -std=c99
79 .RE
80 .ad b
81 .\"O .SH DESCRIPTION
82 .SH ÀâÌÀ
83 .\"O The
84 .\"O .BR atan ()
85 .\"O function calculates the principal value of the arc tangent of \fIx\fP;
86 .\"O that is the value whose tangent is \fIx\fP.
87 .BR atan ()
88 \fIx\fP ¤ÎµÕÀµÀÜ¡Êarc tangent¡Ë¤Î¼çÃͤò·×»»¤¹¤ë¡£
89 ¤¹¤Ê¤ï¤Á¡¢
90 ¤½¤ÎÀµÀÜ¡Êtangent¡Ë¤¬ \fIx\fP ¤È¤Ê¤ë¤è¤¦¤ÊÃͤǤ¢¤ë¡£
91 .\"O .SH "RETURN VALUE"
92 .SH ÊÖ¤êÃÍ
93 .\"O On success, these functions return the principal value of the arc tangent of
94 .\"O .IR x
95 .\"O in radians; the return value is in the range [\-pi/2,\ pi/2].
96 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
97 .I x
98 ¤ÎµÕÀµÀܤμçÃͤò¥é¥¸¥¢¥óñ°Ì¤ÇÊÖ¤¹¡£
99 ÊÖ¤êÃͤϠ[\-pi/2,\ pi/2] ¤ÎÈϰϤȤʤ롣
100
101 .\"O If
102 .\"O .I x
103 .\"O is a NaN, a NaN is returned.
104 .I x
105 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
106
107 .\"O If
108 .\"O .I x
109 .\"O is +0 (\-0),
110 .\"O +0 (\-0) is returned.
111 .I x
112 ¤¬ +0 (\-0) ¤Î¾ì¹ç¡¢+0 (\-0) ¤¬ÊÖ¤µ¤ì¤ë¡£
113
114 .\"O If
115 .\"O .I x
116 .\"O is positive infinity (negative infinity), +pi/2 (\-pi/2) is returned.
117 .I x
118 ¤¬Àµ¤Î̵¸ÂÂç (Éé¤Î̵¸ÂÂç) ¤Î¾ì¹ç¡¢+pi/2 (\-pi/2) ¤¬ÊÖ¤µ¤ì¤ë¡£
119 .\"
120 .\" POSIX.1-2001 documents an optional range error for subnormal x;
121 .\" glibc 2.8 does not do this.
122 .\"O .SH ERRORS
123 .SH ¥¨¥é¡¼
124 .\"O No errors occur.
125 ¥¨¥é¡¼¤ÏȯÀ¸¤·¤Ê¤¤¡£
126 .\"O .SH "CONFORMING TO"
127 .SH ½àµò
128 C99, POSIX.1-2001.
129 .\"O The variant returning
130 .\"O .I double
131 .\"O also conforms to
132 .\"O SVr4, 4.3BSD, C89.
133 .I double
134 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
135 .\"O .SH "SEE ALSO"
136 .SH ´ØÏ¢¹àÌÜ
137 .BR acos (3),
138 .BR asin (3),
139 .BR atan2 (3),
140 .BR carg (3),
141 .BR catan (3),
142 .BR cos (3),
143 .BR sin (3),
144 .BR tan (3)