Program Rust
to_bits
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
327 const LARGEST_POWER_OF_TEN: i32 = 308;328 const SMALLEST_POWER_OF_TEN: i32 = -342;329 330 fn to_bits(self) -> Self::Int {331 self.to_bits()332 }333 334 fn classify(self) -> FpCategory {335 self.classify()Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
def F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.to_bits
(self : F64) : Result Std.U64 := do
core.f64.F64.to_bits selfOperations used here
Source details
| Declaration | F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.to_bits |
|---|---|
| File | num/imp/../../traits.rs |
| Lines | 330:4–332:5 |
| Program version | Preparation 2 |