Constant lexical_util::format::OCAML_LITERAL
source · [−]pub const OCAML_LITERAL: u128 = NumberFormatBuilder::new()
.digit_separator(num::NonZeroU8::new(b'_'))
.required_integer_digits(true)
.required_exponent_digits(true)
.no_positive_mantissa_sign(true)
.case_sensitive_special(true)
.internal_digit_separator(true)
.fraction_leading_digit_separator(true)
.trailing_digit_separator(true)
.consecutive_digit_separator(true)
.build(); // 202_824_096_038_269_144_943_891_012_651_037u128
Expand description
Number format for an OCaml literal floating-point number.