Atom

math.atan()

Computes inverse tangent.

Signature

math.atan(x)

Parameters

One number.

Returns

Principal f64 angle in radians.

Behavior

Uses the C math operation.

Errors

Requires a number.

Example

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