Rust library
MANTISSA_MASK
This is Rust standard-library source from the compiler version used in the run.
634 /// assert_eq!(f64::MIN.to_bits() & f64::MANTISSA_MASK, f64::MANTISSA_MASK);635 /// ```636 #[unstable(feature = "float_masks", issue = "154064")]637 pub const MANTISSA_MASK: u64 = 0x000f_ffff_ffff_ffff;638 639 /// Minimum representable positive value (min subnormal)640 const TINY_BITS: u64 = 0x1;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}::MANTISSA_MASK"]
axiom core.f64.F64.MANTISSA_MASK : Result Std.U64Authored Lean model
Trellis authored this Lean model for an operation outside the mechanical extraction. Modeling choices explains its behavior and review.
import Tablet.Binary64ModelDefault
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
namespace dec2flt_model
-- [TABLET NODE: ModelF64MantissaMask]
def ModelF64MantissaMask : Result Std.U64 :=
-- BODY
Binary64ModelDefault.mantissaMask
end dec2flt_model
Source details
| Declaration | core.f64.F64.MANTISSA_MASK |
|---|---|
| File | /rustc/library/core/src/num/f64.rs |
| Lines | 637:4–637:32 |
| Program version | Preparation 2 |