The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
cos
mir
math
common
T
cos
(T x)
T
cos
(T x)
T
cos
(T x)
version(!LDC && !GNU)
static if
(!(
__VERSION__ >= 2082
))
T
cos
(
T
)
(
in
T
x
)
if
(
isFloatingPoint
!
T
)
Meta
Source
See Implementation
mir
math
common
aliases
fastmath
fmamath
optmath
functions
approxEqual
ceil
copysign
cos
exp
exp2
fabs
floor
fmax
fmin
fmuladd
log
log10
log2
nearbyint
pow
powi
rint
round
sin
sqrt
trunc