Program Rust
classify
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
263 self.to_bits()264 }265 266 fn classify(self) -> FpCategory {267 self.classify()268 }269 }270 271 impl FloatExt for f32 {Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
def F32.Insts.Dec2flt_modelNumImpTraitsFloatU32.classify
(self : F32) : Result core.num.FpCategory := do
core.f32.F32.classify selfSource details
| Declaration | F32.Insts.Dec2flt_modelNumImpTraitsFloatU32.classify |
|---|---|
| File | num/imp/../../traits.rs |
| Lines | 266:4–268:5 |
| Program version | Preparation 1 |