Program Rust
classify
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
209 self.to_bits()210 }211 212 fn classify(self) -> FpCategory {213 self.classify()214 }215 }216 217 #[cfg(target_has_reliable_f16)]Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
def F16.Insts.Dec2flt_modelNumImpTraitsFloatU16.classify
(self : F16) : Result core.num.FpCategory := do
core.f16.F16.classify selfSource details
| Declaration | F16.Insts.Dec2flt_modelNumImpTraitsFloatU16.classify |
|---|---|
| File | num/imp/../../traits.rs |
| Lines | 212:4–214:5 |
| Program version | Preparation 1 |