Rust library
classify
This is Rust standard-library source from the compiler version used in the run.
568 #[inline]569 #[unstable(feature = "f16", issue = "116909")]570 #[must_use]571 pub const fn classify(self) -> FpCategory {572 let b = self.to_bits();573 match (b & Self::MANTISSA_MASK, b & Self::EXPONENT_MASK) {574 (0, Self::EXPONENT_MASK) => FpCategory::Infinite,Aeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[rust_fun "core::f16::{f16}::classify"]
axiom core.f16.F16.classify : F16 → Result core.num.FpCategoryOperations used here
Source details
| Declaration | core.f16.F16.classify |
|---|---|
| File | /rustc/library/core/src/num/f16.rs |
| Lines | 571:4–571:45 |
| Program version | Preparation 1 |