dos_tan - dalefugier/DOSLib GitHub Wiki

Calculates the tangent of an angle.

Syntax

(dos_tan angle)

Parameters

angle

The angle in radians.

Returns

The tangent, if successful.

nil on error.

Example

Command: (dos_tan 0.785)
0.999204
Command: (dos_tan (dos_dtr 45))
1.0