(z, x, prec, rnd=round_fast)
return re, im
Multiply the mpc value z by I*x where x is an mpf value.
Multiply the mpc value z by I*x where x is an mpf value.
Multiply the mpc value z by I * x where x is an mpf value .
def mpc_mul_imag_mpf(z, x, prec, rnd=round_fast):
    """
    Multiply the mpc value z by I*x where x is an mpf value.
    """
    a, b = z
    re = mpf_neg(mpf_mul(b, x, prec, rnd))
    im = mpf_mul(a, x, prec, rnd)
    return re, im
def mpc_mul_imag_mpf ( z , x , prec , rnd = round_fast ) : a , b = z re = mpf_neg ( mpf_mul ( b , x , prec , rnd ) ) im = mpf_mul ( a , x , prec , rnd ) return re , im