1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL, 2002-07-27 Walter Harms
3 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
4 .\" <mtk.manpages@gmail.com>
6 .\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI
7 .\" all rights reserved.
8 .\" Translated Tue Sep 9 04:06:20 JST 2003
9 .\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
10 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
12 .TH SINCOS 3 2008-08-11 "GNU" "Linux Programmer's Manual"
15 .\"O sincos, sincosf, sincosl \- calculate sin and cos simultaneously
16 sincos, sincosf, sincosl \- 正弦と余弦を同時に計算する
20 .\"O .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
21 .BR "#define _GNU_SOURCE" " /* feature_test_macros(7) 参照 */"
24 .BI "void sincos(double " x ", double *" sin ", double *" cos );
26 .BI "void sincosf(float " x ", float *" sin ", float *" cos );
28 .BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
31 .\"O Link with \fI\-lm\fP.
35 .\"O Several applications need sine and cosine of the same angle
37 .\"O This function computes both at the same time, and stores the results in
43 について正弦と余弦の両方の計算が必要なものがある。
53 .\"O a NaN is returned in
66 .\"O is positive infinity or negative infinity,
67 .\"O a domain error occurs, and
68 .\"O a NaN is returned in
74 領域エラー (domain error) が発生し、
81 .\"O These functions return
89 .\"O .BR math_error (7)
90 .\"O for information on how to determine whether an error has occurred
91 .\"O when calling these functions.
92 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
96 .\"O The following errors can occur:
99 .\"O Domain error: \fIx\fP is an infinity
100 領域エラー (domain error): \fIx\fp が無限大
104 .\"O An invalid floating-point exception
105 .\"O .RB ( FE_INVALID )
111 .\"O These functions do not set
116 .\" FIXME . Is it intentional that these functions do not set errno?
117 .\" sin() and cos() also don't set errno; bugs have been raised for
121 .\"O These functions first appeared in glibc in version 2.1.
122 これらの関数は glibc バージョン 2.1 で初めて登場した。
123 .\"O .SH "CONFORMING TO"
125 .\"O This function is a GNU extension.