orld.wolfram.com/Cosine.html" TARGET="_top"> cosine of this complex number. Implements the formula:
cos(a + bi) = cos(a)cosh(b) - sin(a)sinh(b)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 values in real or imaginary parts of the input may result in infinite or NaN values returned in parts of the result.
Examples: cos(1 ± INFINITY i) = 1 ∓ INFINITY i cos(±INFINITY + i) = NaN + NaN i cos(±INFINITY ± INFINITY i) = NaN + NaN i
@return the cosine of this complex number.
@since 1.2