File: sincos.3

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (84 lines) | stat: -rw-r--r-- 1,996 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL, 2002-07-27 Walter Harms
.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
.\"     <mtk.manpages@gmail.com>
.\"
.\" Japanese Version Copyright (c) 2003  Akihiro MOTOKI
.\"         all rights reserved.
.\" Translated Tue Sep  9 04:06:20 JST 2003
.\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\" 
.TH SINCOS 3  2008-08-11 "GNU" "Linux Programmer's Manual"
.SH ̾
sincos, sincosf, sincosl \- ;Ʊ˷׻
.SH 
.nf
.B #include <math.h>
.sp
.BI "void sincos(double " x ", double *" sin ", double *" cos );
.br
.BI "void sincosf(float " x ", float *" sin ", float *" cos );
.br
.BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
.fi
.sp
\fI\-lm\fP ǥ󥯤롣
.SH 
ץꥱˤϡƱ
.I x
ˤĤ;ξη׻ɬפʤΤ롣
δؿξԤƱ˷׻η̤
.I *sin

.I *cos
˳Ǽ롣

.I x
 NaN ξ硢
.I *sin

.I *cos
 NaN ֤롣

.I x
̵礫̵ξ硢
ΰ襨顼 (domain error) ȯ
.I *sin

.I *cos
 NaN ֤롣
.SH ֤
δؿ
.I void
֤
.SH 顼
δؿƤӽФݤ˥顼ȯȽˡˤĤƤξ
.BR math_error (7)
򻲾ȤΤȡ
.PP
ʲΥ顼ȯǽ롣
.TP
ΰ襨顼 (domain error): \fIx\fp ̵
.\" .I errno
.\" is set to
.\" .BR EDOM .
 (invalid) ư㳰
.RB ( FE_INVALID )
夬롣
.PP
δؿ
.I errno
ꤷʤ
.\" FIXME . Is it intentional that these functions do not set errno?
.\" sin() and cos() also don't set errno; bugs have been raised for
.\" those functions.
.SH С
δؿ glibc С 2.1 ǽо줷
.SH 
δؿ GNU ˤĥǤ롣
.SH Ϣ
.BR cos (3),
.BR sin (3),
.BR tan (3),
.BR feature_test_macros (7)