Function rocket::mtls::oid::asn1_rs::nom::number::complete::recognize_float_parts

source ·
pub fn recognize_float_parts<T, E>(
    input: T
) -> Result<(T, (bool, T, T, i32)), Err<E>>
Available on crate feature mtls only.
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.