Constant lexical_util::format::NO_FLOAT_LEADING_ZEROS
source · pub const NO_FLOAT_LEADING_ZEROS: u128 = _; // 8_192u128
Expand description
Leading zeros before a float value are not allowed.
If the value is a literal, then this distinction applies when the value is treated like an integer float, typically when there is a decimal point. If the value is parsed, then this distinction applies when the value as parsed as a float.
§Warning
This also does not mean that the value parsed will be correct, for example, in languages like C, this will not auto- deduce that the radix is 8 with leading zeros, for an octal literal.