Function creachadair_imath_sys::mp_rat_set_value
source · [−]pub unsafe extern "C" fn mp_rat_set_value(
r: mp_rat,
numer: mp_small,
denom: mp_small
) -> mp_result
Expand description
Sets the value of r
to the ratio of signed numer
to signed denom
. It
returns MP_UNDEF
if denom
is zero.