pub unsafe extern "C" fn mp_int_to_int(
    z: mp_int,
    out: *mut mp_small
) -> mp_result
Expand description

Returns MP_OK if z is representable as mp_small, else MP_RANGE. If out is not NULL, *out is set to the value of z when MP_OK.