Program Rust
to_bits
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
312 const LARGEST_POWER_OF_TEN: i32 = 308;313 const SMALLEST_POWER_OF_TEN: i32 = -342;314 315 fn to_bits(self) -> Self::Int {316 self.to_bits()317 }318 319 fn classify(self) -> FpCategory {320 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 | 315:4–317:5 |
| Program version | Preparation 1 |