tan

inline fun tan(angle: AngleF): Float

Computes the tangent of the given angle.

Special cases:

  • tan(NaN|+Inf|-Inf) is NaN


inline fun tan(value: ComplexF): ComplexF

Returns the tangent of the specified complex number.