(z, prec, rnd=round_fast)
return a, b
Complex hyperbolic tangent. Computed as tanh(z) = -i*tan(z*i).
Complex hyperbolic tangent. Computed as tanh(z) = -i*tan(z*i).
Complex hyperbolic tangent . Computed as tanh ( z ) = - i * tan ( z * i ) .
def mpc_tanh(z, prec, rnd=round_fast):
    """Complex hyperbolic tangent. Computed as tanh(z) = -i*tan(z*i)."""
    a, b = z
    b, a = mpc_tan((b, a), prec, rnd)
    return a, b
def mpc_tanh ( z , prec , rnd = round_fast ) : a , b = z b , a = mpc_tan ( ( b , a ) , prec , rnd ) return a , b