OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / release / man3 / sin.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:42:24 JST
36 .\"         by Kenji Kajiwara and Kentaro Ogawa
37 .\" Proof Reading: Takashi Yoshino
38 .\" Updated & Modified Thu Feb 17 22:27:53 JST 2005
39 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
40 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
41 .\"
42 .TH SIN 3  2010-09-11 "" "Linux Programmer's Manual"
43 .SH Ì¾Á°
44 sin, sinf, sinl \- Àµ¸¹ (¥µ¥¤¥ó) ´Ø¿ô
45 .SH ½ñ¼°
46 .nf
47 .B #include <math.h>
48 .sp
49 .BI "double sin(double " x );
50 .br
51 .BI "float sinf(float " x );
52 .br
53 .BI "long double sinl(long double " x );
54 .fi
55 .sp
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 sinf (),
66 .BR sinl ():
67 .RS 4
68 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
69 _POSIX_C_SOURCE\ >=\ 200112L;
70 .br
71 or
72 .I cc\ -std=c99
73 .RE
74 .ad
75 .SH ÀâÌÀ
76 .BR sin ()
77 ´Ø¿ô¤Ï \fIx\fP ¤ÎÀµ¸¹ (¥µ¥¤¥ó) ¤ÎÃͤòÊÖ¤¹¡£
78 \fIx\fP ¤Ï¥é¥¸¥¢¥óñ°Ì¤Ç»ØÄꤹ¤ë¡£
79 .SH ÊÖ¤êÃÍ
80 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
81 .I x
82 ¤ÎÀµ¸¹¤òÊÖ¤¹¡£
83
84 .I x
85 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
86
87 .I x
88 ¤¬Àµ¤Î̵¸ÂÂ礫Éé¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢
89 Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
90 .\"
91 .\" POSIX.1 allows an optional range error for subnormal x
92 .\" glibc 2.8 doesn't do this
93 .SH ¥¨¥é¡¼
94 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
95 .BR math_error (7)
96 ¤ò»²¾È¤Î¤³¤È¡£
97 .PP
98 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
99 .TP
100 Îΰ襨¥é¡¼ (domain error): \fIx\fP ¤¬Ìµ¸ÂÂç
101 .I errno
102 ¤Ë
103 .B EDOM
104 ¤¬ÀßÄꤵ¤ì¤ë (¡Ö¥Ð¥°¡×¤ÎÀá¤â»²¾È)¡£
105 ÉÔÀµ (invalid) ÉâÆ°¾®¿ôÅÀÎã³°
106 .RB ( FE_INVALID )
107 ¤¬¾å¤¬¤ë¡£
108 .PP
109 .SH ½àµò
110 C99, POSIX.1-2001.
111 .I double
112 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
113 .SH ¥Ð¥°
114 .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6781
115 ¥Ð¡¼¥¸¥ç¥ó 2.10 ¤è¤êÁ°¤Î glibc ¤Î¼ÂÁõ¤Ç¤Ï¡¢
116 Îΰ襨¥é¡¼¤¬È¯À¸¤·¤¿ºÝ¤Ë¡¢
117 .I error
118 ¤Ë
119 .B EDOM
120 ¤¬ÀßÄꤵ¤ì¤Ê¤«¤Ã¤¿¡£
121 .SH ´ØÏ¢¹àÌÜ
122 .BR acos (3),
123 .BR asin (3),
124 .BR atan (3),
125 .BR atan2 (3),
126 .BR cos (3),
127 .BR csin (3),
128 .BR sincos (3),
129 .BR tan (3)