Skip to main content

parse_decimal_exponent

Function parse_decimal_exponent 

Source
fn parse_decimal_exponent(exponent: &[u8]) -> Result<i64, DecimalParseError>
Expand description

Parses the digits of an exponent ([+|-] digits), saturating at the bounds of i64; any exponent that large scales every non-zero mantissa out of range of every decimal type.