Source context

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 self
Operations used here

FpCategory · Rust library

classify · Rust library

Source details
DeclarationF16.Insts.Dec2flt_modelNumImpTraitsFloatU16.classify
Filenum/imp/../../traits.rs
Lines212:4–214:5
Program versionPreparation 1