pub unsafe extern "C" fn mp_rat_to_ints(
    r: mp_rat,
    num: *mut mp_small,
    den: *mut mp_small
) -> mp_result
Expand description

Reports whether the numerator and denominator of r can be represented as small signed integers, and if so stores the corresponding values to num and den. It returns MP_RANGE if either cannot be so represented.