Source context

Program Rust

to_bits

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

259     const LARGEST_POWER_OF_TEN: i32 = 38;260     const SMALLEST_POWER_OF_TEN: i32 = -65;261 262     fn to_bits(self) -> Self::Int {263         self.to_bits()264     }265 266     fn classify(self) -> FpCategory {267         self.classify()

Aeneas declaration

The Lean below was mechanically extracted by Aeneas from Rust.

def F32.Insts.Dec2flt_modelNumImpTraitsFloatU32.to_bits
  (self : F32) : Result Std.U32 := do
  core.f32.F32.to_bits self
Operations used here

to_bits · Rust library

Source details
DeclarationF32.Insts.Dec2flt_modelNumImpTraitsFloatU32.to_bits
Filenum/imp/../../traits.rs
Lines262:4–264:5
Program versionPreparation 1