(z, prec, rnd=round_fast)
return re, im
Complex sine. We have sin(a+bi) = sin(a)*cosh(b) +
    cos(a)*sinh(b)*i. See the docstring for mpc_cos for additional
    comments.
Complex sine. We have sin(a+bi) = sin(a)*cosh(b) +
    cos(a)*sinh(b)*i. See the docstring for mpc_cos for additional
    comments.
Complex sine . We have sin ( a + bi ) = sin ( a ) * cosh ( b ) + cos ( a ) * sinh ( b ) * i . See the docstring for mpc_cos for additional comments .
def mpc_sin(z, prec, rnd=round_fast):
    """Complex sine. We have sin(a+bi) = sin(a)*cosh(b) +
    cos(a)*sinh(b)*i. See the docstring for mpc_cos for additional
    comments."""
    a, b = z
    if b == fzero:
        return mpf_sin(a, prec, rnd), fzero
    if a == fzero:
        return fzero, mpf_sinh(b, prec, rnd)
    wp = prec + 6
    c, s = mpf_cos_sin(a, wp)
    ch, sh = mpf_cosh_sinh(b, wp)
    re = mpf_mul(s, ch, prec, rnd)
    im = mpf_mul(c, sh, prec, rnd)
    return re, im
def mpc_sin ( z , prec , rnd = round_fast ) : a , b = z if b == fzero : return mpf_sin ( a , prec , rnd ) , fzero if a == fzero : return fzero , mpf_sinh ( b , prec , rnd ) wp = prec + 6 c , s = mpf_cos_sin ( a , wp ) ch , sh = mpf_cosh_sinh ( b , wp ) re = mpf_mul ( s , ch , prec , rnd ) im = mpf_mul ( c , sh , prec , rnd ) return re , im