Skip to main content

strtold

Function strtold 

Source
pub fn strtold(buf: &[i8]) -> ((f128, &[i8]), Result<(), StrtoFloatError>)
Expand description

Converts the initial floating-point number in buf to f128::f128.

Returns the converted value, the unconsumed suffix, and the conversion status. StrtoFloatError::OutOfRange is the only error variant and reports overflow or inexact underflow.