ocean ~master (2021-10-22T21:44:26.740458)
Dub
Repo
cos
ocean
math
Math
Returns cosine of x. x is in radians.
Special Values
x
cos(x)
invalid?
NaN
NaN
yes
±∞
NaN
yes
real
cos
(real x)
real
cos
(
real
x
)
creal
cos
(creal z)
real
cos
(ireal y)
Bugs
Results are undefined if |x| >=
2
64
.
Meta
Source
See Implementation
ocean
math
Math
functions
abs
acos
acosh
asin
asinh
atan
atan2
atanPi
atanh
cbrt
ceil
conj
cos
cosPi
cosh
divRoundEven
exp
exp2
expm1
floor
hypot
log
log10
log1p
log2
max
maxNaN
maxNum
min
minNaN
minNum
poly
pow
rationalPoly
rndint
rndlong
round
sin
sinPi
sinh
sqrt
tan
tanh
trunc
static variables
E
EULERGAMMA
LN10
LN2
LOG10E
LOG2
LOG2E
LOG2T
MAXLOG
MINLOG
M_1_PI
M_2_PI
M_2_SQRTPI
PI
PI_2
PI_4
SQRT1_2
SQRT2
Returns cosine of x. x is in radians.