Atom

math.tan()

Computes tangent.

Signature

math.tan(x)

Parameters

One angle in radians.

Returns

f64.

Behavior

Uses the C math operation.

Errors

Requires a number.

Example

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