creachadair_imath_sys

Function mp_rat_div

source
pub unsafe extern "C" fn mp_rat_div(
    a: mp_rat,
    b: mp_rat,
    c: mp_rat,
) -> mp_result
Expand description

Sets c to the ratio a / b if that ratio is defined. It returns MP_UNDEF if b is zero.