SINCOSP 3CW "12 December 2007" "mathcw-1.00"
Table of contents
sincospf, sincosp, sincospl, sincospw, sincospq, sincospll, sincospdf, sincospd, sincospdl, sincospdll - sine and cosine functions
cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]
#include <mathcw.h>
extern void sincospf (float x, float *s, float *c);
extern void sincosp (double x, double *s, double *c);
extern void sincospl (long double x, long double *s, long double *c);
extern void sincospw (__float80 x, __float80 *s, __float80 *c);
extern void sincospq (__float128 x, __float128 *s, __float128 *c);
extern void sincospll (long_long_double x, long_long_double *s, long_long_double *c);
extern void sincospdf (decimal_float x, decimal_float *s, decimal_float *c);
extern void sincospd (decimal_double x, decimal_double *s, decimal_double *c);
extern void sincospdl (decimal_long_double x, decimal_long_double *s, decimal_long_double *c);
extern void sincospdll (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 radians, but the argument reduction
to the range [-pi,+pi] is done as described in
cosp(3CW)
and
sinp(3CW).
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),
sincospi(3CW),
sinp(3CW),
sinpi(3CW),
tan(3CW),
tanp(3CW),
tanpi(3CW).