Mathematical Library Functions sincos(3M)
NAME
sincos, sincosf, sincosl - combined sine and cosine function
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include
void sincos(double x, double *s, double *c);void sincosf(float x, float *s, float *c);
void sincosl(long double x, long double *s, long double *c);DESCRIPTION
These functions compute the sine and cosine of the first argument x, measured in radians.RETURN VALUES
Upon successful completion, these functions return the sine of x in *s and cosine of x in *c.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
cos(3M), sin(3M), math.h(3HEAD), attributes(5)SunOS 5.11 Last change: 12 Jul 2006 1