Source context

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, none

Aeneas 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.FpCategory
Operations used here

FpCategory · Rust library

Source details
Declarationcore.f32.F32.classify
File/rustc/library/core/src/num/f32.rs
Lines783:4–783:45
Program versionPreparation 1