pub unsafe extern "C" fn mp_rat_read_cdecimal(
r: mp_rat,
radix: mp_size,
str_: *const c_char,
end: *mut *mut c_char,
) -> mp_result
Expand description
Sets r
to the value represented by a zero-terminated string str
in the
format "z.ffff"
including a sign flag. It returns MP_UNDEF
if the
effective denominator is zero.
If end
is not NULL then *end
is set to point to
the first unconsumed character in the string, after parsing.