Skip to main content

parse_float_symbol

Function parse_float_symbol 

Source
fn parse_float_symbol(
    symbol: &str,
) -> Result<FloatSymbolParts<'_>, &'static str>
Expand description

Parses a float literal. The symbol must be a valid floating point literal without a type suffix. Otherwise the function may panic or return wrong result.