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> 14 15 \fBvoid\fR \fBsincos\fR(\fBdouble\fR \fIx\fR, \fBdouble *\fR\fIs\fR, \fBdouble *\fR\fIc\fR); 16 .fi 17 18 .LP 19 .nf 20 \fBvoid\fR \fBsincosf\fR(\fBfloat\fR \fIx\fR, \fBfloat *\fR\fIs\fR, \fBfloat *\fR\fIc\fR); 21 .fi 22 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 27 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 43 44 .sp 45 .TS 46 tab() box; 47 cw(2.75i) |cw(2.75i) 48 lw(2.75i) |lw(2.75i) 49 . 50 ATTRIBUTE TYPEATTRIBUTE VALUE 51 _ 52 Interface StabilityStable 53 _ 54 MT-LevelMT-Safe 55 .TE 56 57 .SH SEE ALSO 58 .sp 59 .LP 60 \fBcos\fR(3M), \fBsin\fR(3M), \fBmath.h\fR(3HEAD), \fBattributes\fR(5)