__SINCOSPI(3) | Library Functions Manual | __SINCOSPI(3) |
__sincospi
—
sine-pi and cosine-pi function
#include
<math.h>
float
__sincospif
(float
x, float *sinp,
float *cosp);
double
__sincospi
(double
x, double *sinp,
double *cosp);
The
__sincospi
()
function computes the sine and cosine of pi times x
(measured in radians) and stores the sine in the memory pointed to by
sinp and the cosine in the memory pointed to by
cosp.
__sincospi
() produces the same results as
separate calls to
__sinpi
()
and
__cospi
().
December 15, 2012 | macOS 15.2 |