Function nom8::number::streaming::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>where
T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>> + Clone + Offset + InputIter + IntoOutput + InputTakeAtPosition + InputTake + InputLength + for<'a> Compare<&'a [u8]> + AsBytes,
<T as InputIter>::Item: AsChar,
<T as InputTakeAtPosition>::Item: AsChar,
👎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