orld.wolfram.com/Tangent.html" TARGET="_top"> tangent of this complex number. Implements the formula:
tan(a + bi) = sin(2a)/(cos(2a)+cosh(2b)) + [sinh(2b)/(cos(2a)+cosh(2b))]i
where the (real) functions on the right-hand side are {@link FastMath#sin}, {@link FastMath#cos}, {@link FastMath#cosh} and{@link FastMath#sinh}.
Returns {@link Complex#NaN} if either real or imaginary part of theinput argument is {@code NaN}.
Infinite (or critical) values in real or imaginary parts of the input may result in infinite or NaN values returned in parts of the result.
Examples: tan(a ± INFINITY i) = 0 ± i tan(±INFINITY + bi) = NaN + NaN i tan(±INFINITY ± INFINITY i) = NaN + NaN i tan(±π/2 + 0 i) = ±INFINITY + NaN i
@return the tangent of {@code this}.
@since 1.2