Source context

Program Rust

SIG_TOTAL_BITS

This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.

302     const NEG_NAN: Self = f64::from_bits(0xFFF8_0000_0000_0000);303 304     const BITS: u32 = 64;305     const SIG_TOTAL_BITS: u32 = Self::MANTISSA_DIGITS;306     const EXP_MASK: Self::Int = Self::EXPONENT_MASK;307     const SIG_MASK: Self::Int = Self::MANTISSA_MASK;308 

Aeneas declaration

The Lean below was mechanically extracted by Aeneas from Rust.

@[global_simps, irreducible]
def F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.SIG_TOTAL_BITS
  : Result Std.U32 :=
  core.f64.F64.MANTISSA_DIGITS
Operations used here

MANTISSA_DIGITS · Rust library

Source details
DeclarationF64.Insts.Dec2flt_modelNumImpTraitsFloatU64.SIG_TOTAL_BITS
Filenum/imp/../../traits.rs
Lines305:4–305:54
Program versionPreparation 1