Berserk Docs
Scalar FunctionsMath Functions

tan

Returns the tangent of the input angle in radians.

Syntax

tan(x)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print tan(0)
print_0 (real)
0.0

On this page