sincos

Name

sincos -- trigonometric functions

Synopsis

#define _GNU_SOURCE
#include <math.h>

void sincos(double x, double * sin, double * cos);

Description

The sincos() function shall calculate both the sine and cosine of x. The sine shall be stored in the location referenced by sin, and the cosine in the location referenced by cosine.

Returns

None. See sin() and cos() for possible error conditions.

See Also

cos(), sin(), sincosf(), sincosl()