Atom

math.sin()

Computes sine.

Signature

math.sin(x)

Parameters

One angle in radians.

Returns

f64.

Behavior

Uses the C math operation.

Errors

Requires a number.

Example

Atom
use math
assert(math.sin(0) == 0)