Program Rust
classify
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
331 self.to_bits()332 }333 334 fn classify(self) -> FpCategory {335 self.classify()336 }337 }338 339 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 | 334:4–336:5 |
| Program version | Original program |