Rust library
INFINITY
This is Rust standard-library source from the compiler version used in the run.
509 pub const NAN: f64 = 0.0_f64 / 0.0_f64;510 /// Infinity (∞).511 #[stable(feature = "assoc_int_consts", since = "1.43.0")]512 pub const INFINITY: f64 = 1.0_f64 / 0.0_f64;513 /// Negative infinity (−∞).514 #[stable(feature = "assoc_int_consts", since = "1.43.0")]515 pub const NEG_INFINITY: f64 = -1.0_f64 / 0.0_f64;Aeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[rust_const "core::f64::{f64}::INFINITY"]
axiom core.f64.F64.INFINITY : Result F64Source details
| Declaration | core.f64.F64.INFINITY |
|---|---|
| File | /rustc/library/core/src/num/f64.rs |
| Lines | 512:4–512:27 |
| Program version | Preparation 1 |