Atom

math.asin()

Computes inverse sine.

Signature

math.asin(x)

Parameters

One number, with real domain from -1 through 1.

Returns

f64 radians, or NaN outside the domain.

Behavior

Uses the C math operation.

Errors

Requires a number.

Example

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