Source context

Rust library

NAN

This is Rust standard-library source from the compiler version used in the run.

507     #[stable(feature = "assoc_int_consts", since = "1.43.0")]508     #[rustc_diagnostic_item = "f32_nan"]509     #[allow(clippy::eq_op)]510     pub const NAN: f32 = 0.0_f32 / 0.0_f32;511     /// Infinity (∞).512     #[stable(feature = "assoc_int_consts", since = "1.43.0")]513     pub const INFINITY: f32 = 1.0_f32 / 0.0_f32;

Aeneas declaration

Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.

@[rust_const "core::f32::{f32}::NAN"] axiom core.f32.F32.NAN : Result F32
Source details
Declarationcore.f32.F32.NAN
File/rustc/library/core/src/num/f32.rs
Lines510:4–510:22
Program versionPreparation 1