PCOS 3CW "11 July 2007" "mathcw-1.00"
Table of contents
pcosf, pcos, pcosl, pcosw, pcosq, pcosll, pcosdf, pcosd, pcosdl, pcosdll - pair-precision cosine
cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]
#include <mathcw.h>
#include <paircw.h>
extern void pcosf (float_pair result, const float_pair x);
extern void pcos (double_pair result, const double_pair x);
extern void pcosl (long_double_pair result, const long_double_pair x);
extern void pcosw (__float80_pair result, const __float80_pair x);
extern void pcosq (__float128_pair result, const __float128_pair x);
extern void pcosll (long_long_double_pair result, const long_long_double_pair x);
extern void pcosdf (decimal_float_pair result, const decimal_float_pair x);
extern void pcosd (decimal_double_pair result, const decimal_double_pair x);
extern void pcosdl (decimal_long_double_pair result, const decimal_long_double x);
extern void pcosdll (decimal_long_long_double_pair result, const decimal_long_long_double x);
NB: Functions with prototypes containing underscores in type names
may be available only with certain extended compilers.
Compute the pair-precision cosine of x.
None. The function result is stored in the first argument,
result.
Trigonometric functions are computed by reducing the argument to a
multiple of pi or 2pi plus a small remainder, and the function is
then computed for that remainder. The finite precision of computer
arithmetic limits the precision of the remainder for large-magnitude
arguments, and eventually, all accuracy is lost, and the function
value is effectively meaningless. In practical applications, it is
usually possible to eliminate large arguments by exact mathematical
reduction before doing a computation.
None.
pabs(3CW),
pacos(3CW),
pacosh(3CW),
padd(3CW),
pasin(3CW),
pasinh(3CW),
patan(3CW),
patan2(3CW),
patanh(3CW),
pcbrt(3CW),
pcmp(3CW),
pcon(3CW),
pcopy(3CW),
pcopysign(3CW),
pcosh(3CW),
pcotan(3CW),
pdiv(3CW),
pdot(3CW),
peps(3CW),
peval(3CW),
pexp(3CW),
pexp10(3CW),
pexp16(3CW),
pexp2(3CW),
pexp8(3CW),
pexpm1(3CW),
pfdim(3CW),
pfmax(3CW),
pfmin(3CW),
pfrexp(3CW),
pfrexph(3CW),
phigh(3CW),
phypot(3CW),
pierf(3CW),
pierfc(3CW),
pilogb(3CW),
pin(3CW),
pinfty(3CW),
pipow(3CW),
pisinf(3CW),
pisnan(3CW),
pisqnan(3CW),
pissnan(3CW),
pldexp(3CW),
pldexph(3CW),
plog(3CW),
plog101p(3CW),
plog1p(3CW),
plow(3CW),
pmul(3CW),
pmul2(3CW),
pneg(3CW),
pout(3CW),
pprosum(3CW),
pqnan(3CW),
pscalbln(3CW),
pscalbn(3CW),
pset(3CW),
psignbit(3CW),
psin(3CW),
psinh(3CW),
psnan(3CW),
psplit(3CW),
psqrt(3CW),
psub(3CW),
psum(3CW),
psum2(3CW),
ptan(3CW),
ptanh(3CW).