Program Rust
classify
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
316 self.to_bits()317 }318 319 fn classify(self) -> FpCategory {320 self.classify()321 }322 }323 324 impl FloatExt for f64 {Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
def F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.classify
(self : F64) : Result core.num.FpCategory := do
core.f64.F64.classify selfSource details
| Declaration | F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.classify |
|---|---|
| File | num/imp/../../traits.rs |
| Lines | 319:4–321:5 |
| Program version | Preparation 1 |