tan (Function)

Signature: tan(x: t0) -> t0

Description: The tangent of a float in radians. Total: an argument at a pole yields the large finite neighbour, never a fault.

Parameters

  • x (t0): The angle in radians

Returns: t0

Example

print(tan(0.5))  // 0.5463024898437905
print (tan 0.5)  // 0.5463024898437905