|
NAMEcospi , cospif ,
cospil —
half–cycle cosine functions
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h>
double
float
long double
DESCRIPTIONThecospi (), cospif (), and
cospil () functions compute the cosine of
π × x. and measure angles in half-cycles.
RETURN VALUESThecospi (), cospif (), and
cospil () functions returns
cos (π × x). If |x|
≥ 2^(p - 1) where p is the floating–point precision of
x, then the returned value is 1 and it has no
significance.
SPECIAL VALUES
SEE ALSOcos(3), fenv(3), math(3), sin(3), sinpi(3), tan(3), tanpi(3)AUTHORSThe half–cycle trignometric functions were written by Steven G. Kargl <kargl@FreeBSD.org>.STANDARDSThese functions conform to IEEE Std 754™–2008 , "IEEE Standard for Floating-Point Arithmetic" and to ISO/IEC TS 18661-4 , "Information technology — Programming languages, their environments, and system software interfaces — Floating–point extensions for C" — Part 4: Supplementary functions.
Visit the GSP FreeBSD Man Page Interface. |