The OpenD Programming Language

sin

Returns sine of x. x is in radians.

Special Values
xsin(x)invalid?
NaNNaNyes
±0.0±0.0no
$(PLUSMNINF)NaNyes
  1. alias sin = llvm_sin!float
    import core.math;
    version(LDC)
    @nogc nothrow @safe pure
    alias sin = llvm_sin!float
  2. alias sin = llvm_sin!double
  3. alias sin = llvm_sin!real

Bugs

Results are undefined if |x| >= 264.

Meta