SINCOSPI 3CW "12 December 2007" "mathcw-1.00"
Table of contents
sincospif, sincospi, sincospil, sincospiw, sincospiq, sincospill, sincospidf, sincospid, sincospidl, sincospidll - sine and cosine functions
cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]
#include <mathcw.h>
extern void sincospif (float x, float *s, float *c);
extern void sincospi (double x, double *s, double *c);
extern void sincospil (long double x, long double *s, long double *c);
extern void sincospiw (__float80 x, __float80 *s, __float80 *c);
extern void sincospiq (__float128 x, __float128 *s, __float128 *c);
extern void sincospill (long_long_double x, long_long_double *s, long_long_double *c);
extern void sincospidf (decimal_float x, decimal_float *s, decimal_float *c);
extern void sincospid (decimal_double x, decimal_double *s, decimal_double *c);
extern void sincospidl (decimal_long_double x, decimal_long_double *s, decimal_long_double *c);
extern void sincospidll (decimal_long_long_double x, decimal_long_long_double *s,
decimal_long_long_double *c);
NB: Functions with prototypes containing underscores in type names
may be available only with certain extended compilers.
Compute the sine and cosine of
x,
where the argument is measured in units of pi. Thus, the functions
computed are
cos(pix)
and
sin(pix).
If the argument is finite, its sine and cosine are returned via the
final two pointer arguments, as long as they are non-NULL.
Otherwise, NaNs are returned via those arguments.
If the argument is a NaN, errno is set to EDOM, and the
argument is returned. If the argument is +Infinity or -Infinity,
errno is set to EDOM, and a quiet NaN is returned.
acos(3CW),
acosp(3CW),
acospi(3CW),
asin(3CW),
asinp(3CW),
asinpi(3CW),
atan(3CW),
atan2(3CW),
atan2p(3CW),
atan2pi(3CW),
atanp(3CW),
atanpi(3CW),
cos(3CW),
cosp(3CW),
cospi(3CW),
cotan(3CW),
cotanp(3CW),
cotanpi(3CW),
sin(3CW),
sincos(3CW),
sincosp(3CW),
sinp(3CW),
sinpi(3CW),
tan(3CW),
tanp(3CW),
tanpi(3CW).