import less(1)
[unleashed/tickless.git] / share / man / man3m / sincos.3m
blob00ad44b95787455c3249148104651d5a913f9f97
1 '\" te
2 .\" Copyright (c) 2006, Sun Microsystems, Inc.  All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH sincos 3M "12 Jul 2006" "SunOS 5.11" "Mathematical Library Functions"
7 .SH NAME
8 sincos, sincosf, sincosl \- combined sine and cosine function
9 .SH SYNOPSIS
10 .LP
11 .nf
12 c99 [ \fIflag\fR... ] \fIfile\fR... \fB-lm\fR [ \fIlibrary\fR... ]
13 #include <math.h>
15 \fBvoid\fR \fBsincos\fR(\fBdouble\fR \fIx\fR, \fBdouble *\fR\fIs\fR, \fBdouble *\fR\fIc\fR);
16 .fi
18 .LP
19 .nf
20 \fBvoid\fR \fBsincosf\fR(\fBfloat\fR \fIx\fR, \fBfloat *\fR\fIs\fR, \fBfloat *\fR\fIc\fR);
21 .fi
23 .LP
24 .nf
25 \fBvoid\fR \fBsincosl\fR(\fBlong double\fR \fIx\fR, \fBlong double *\fR\fIs\fR, \fBlong double *\fR\fIc\fR);
26 .fi
28 .SH DESCRIPTION
29 .sp
30 .LP
31 These functions compute the sine and cosine of the first argument \fIx\fR,
32 measured in radians.
33 .SH RETURN VALUES
34 .sp
35 .LP
36 Upon successful completion, these functions return the sine of \fIx\fR in
37 *\fIs\fR and cosine of \fIx\fR in *\fIc\fR.
38 .SH ATTRIBUTES
39 .sp
40 .LP
41 See \fBattributes\fR(5) for descriptions of the following attributes:
42 .sp
44 .sp
45 .TS
46 tab(\a) box;
47 cw(2.75i) |cw(2.75i) 
48 lw(2.75i) |lw(2.75i) 
50 ATTRIBUTE TYPE\aATTRIBUTE VALUE
52 Interface Stability\aStable
54 MT-Level\aMT-Safe
55 .TE
57 .SH SEE ALSO
58 .sp
59 .LP
60 \fBcos\fR(3M), \fBsin\fR(3M), \fBmath.h\fR(3HEAD), \fBattributes\fR(5)