|
NAMEsincos , sincosf ,
sincosl —
sine and cosine functions
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h>
void
void
void
DESCRIPTIONThesincos (), sincosf (), and
sincosl () functions compute the sine and cosine of
x. Using these functions allows argument reduction to
occur only once instead of twice with individual invocations of
sin () and cos (). Like
sin () and cos (), a large
magnitude argument may yield a result with little or no significance.
RETURN VALUESUpon returning fromsincos (),
sincosf (), and sincosl (), the
memory pointed to by *s and *c are
assigned the values of sine and cosine, respectively.
SEE ALSOcos(3), sin(3)HISTORYThese functions were added to FreeBSD 9.0 to aid in writing various complex function contained in ISO/IEC 9899:1999 (“ISO C99”).
Visit the GSP FreeBSD Man Page Interface. |