tan (Function)

Signature: tan(x: float) -> float

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

Parameters

  • x (float): The angle in radians

Returns: float

Example

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