Function nom::number::streaming::recognize_float_parts
source · pub fn recognize_float_parts<T, E: ParseError<T>>(
input: T
) -> IResult<T, (bool, T, T, i32), E>where
T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>> + Clone + Offset + InputIter + ParseTo<i32> + InputTakeAtPosition + InputTake + InputLength + for<'a> Compare<&'a [u8]> + AsBytes,
<T as InputIter>::Item: AsChar,
<T as InputTakeAtPosition>::Item: AsChar,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(nom::Err::Incomplete(_)) if there is not enough data.