Rust library
classify
This is Rust standard-library source from the compiler version used in the run.
780 #[stable(feature = "rust1", since = "1.0.0")]781 #[rustc_const_stable(feature = "const_float_classify", since = "1.83.0")]782 #[must_use]783 pub const fn classify(self) -> FpCategory {784 // We used to have complicated logic here that avoids the simple bit-based tests to work785 // around buggy codegen for x87 targets (see786 // https://github.com/rust-lang/rust/issues/114479). However, some LLVM versions later, noneAeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[rust_fun "core::f32::{f32}::classify"]
axiom core.f32.F32.classify : F32 → Result core.num.FpCategoryOperations used here
Source details
| Declaration | core.f32.F32.classify |
|---|---|
| File | /rustc/library/core/src/num/f32.rs |
| Lines | 783:4–783:45 |
| Program version | Preparation 1 |