Rust library
INFINITY
This is Rust standard-library source from the compiler version used in the run.
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;514 /// Negative infinity (−∞).515 #[stable(feature = "assoc_int_consts", since = "1.43.0")]516 pub const NEG_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}::INFINITY"]
axiom core.f32.F32.INFINITY : Result F32Source details
| Declaration | core.f32.F32.INFINITY |
|---|---|
| File | /rustc/library/core/src/num/f32.rs |
| Lines | 513:4–513:27 |
| Program version | Preparation 1 |