Rust library
FpCategory
This is Rust standard-library source from the compiler version used in the run.
1519 /// ```1520 #[derive(Copy, Clone, PartialEq, Eq, Debug)]1521 #[stable(feature = "rust1", since = "1.0.0")]1522 pub enum FpCategory {1523 /// NaN (not a number): this value results from calculations like `(-1.0).sqrt()`.1524 ///1525 /// See [the documentation for `f32`](f32) for more information on the unusual propertiesAeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[discriminant isize, rust_type "core::num::FpCategory"]
inductive core.num.FpCategory where
| Nan : core.num.FpCategory
| Infinite : core.num.FpCategory
| Zero : core.num.FpCategory
| Subnormal : core.num.FpCategory
| Normal : core.num.FpCategorySource details
| Declaration | core.num.FpCategory |
|---|---|
| File | /rustc/library/core/src/num/mod.rs |
| Lines | 1522:0–1522:19 |
| Program version | Original program |