Function creachadair_imath_sys::mp_rat_compare_value
source · pub unsafe extern "C" fn mp_rat_compare_value(
r: mp_rat,
n: mp_small,
d: mp_small
) -> c_int
Expand description
Returns the comparator of r
and the signed ratio n / d
.
It returns MP_UNDEF
if d
is zero.