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>> + Slice<Range<usize>>,
T: Clone + Offset,
T: InputIter + InputTake,
<T as InputIter>::Item: AsChar + Copy,
T: InputTakeAtPosition + InputLength,
<T as InputTakeAtPosition>::Item: AsChar,
T: for<'a> Compare<&'a [u8]>,
T: AsBytes,
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.
Complete version: Can parse until the end of input.