nom8::number::streaming

Function recognize_float_parts

Source
pub fn recognize_float_parts<T, E: ParseError<T>>(
    input: T,
) -> IResult<T, (bool, <T as IntoOutput>::Output, <T as IntoOutput>::Output, i32), E>
👎Deprecated since 8.0.0: Replaced with nom8::character::recognize_float_parts with input wrapped in nom8::input::Streaming
Expand description

Recognizes a floating point number in text format

It returns a tuple of (sign, integer part, fraction part and exponent) of the input data.

Streaming version: Will return Err(nom8::Err::Incomplete(_)) if there is not enough data.

WARNING: Deprecated, replaced with nom8::character::recognize_float_parts with input wrapped in nom8::input::Streaming