The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
sin
core
math
Returns sine of x. x is in radians.
Special Values
x
sin(x)
invalid?
NaN
NaN
yes
±0.0
±0.0
no
$(PLUSMNINF)
NaN
yes
alias
sin
=
llvm_sin
!
float
alias
sin
=
llvm_sin
!
double
import core.math;
version(LDC)
@
nogc
nothrow @
safe
pure
alias
sin
=
llvm_sin
!double
alias
sin
=
llvm_sin
!
real
Bugs
Results are undefined if |x| >=
2
64
.
Meta
Source
See Implementation
core
math
aliases
cos
fabs
rint
rndtol
sin
functions
ldexp
rndtonl
sqrt
toPrec
Returns sine of x. x is in radians.