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"
14 sincos, sincosf, sincosl \- 正弦と余弦を同時に計算する
17 .BR "#define _GNU_SOURCE" " /* feature_test_macros(7) 参照 */"
20 .BI "void sincos(double " x ", double *" sin ", double *" cos );
22 .BI "void sincosf(float " x ", float *" sin ", float *" cos );
24 .BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
31 について正弦と余弦の両方の計算が必要なものがある。
47 領域エラー (domain error) が発生し、
57 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
63 領域エラー (domain error): \fIx\fp が無限大
74 .\" FIXME . Is it intentional that these functions do not set errno?
75 .\" sin() and cos() also don't set errno; bugs have been raised for
78 これらの関数は glibc バージョン 2.1 で初めて登場した。