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