Function tan
Source pub fn tan(x: number) -> number
Expand description
Returns the tangent of a number given in radians.
§Parameters
§Return value
The tangent of x, as a float.
§Examples
print(math.tan(0)) --> 0.0
print(math.tan(math.pi / 4)) --> 0.9999999999999999 (float rounding)
§See also
sin, cos, atan