Program Rust
SIG_MASK
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
304 const BITS: u32 = 64;305 const SIG_TOTAL_BITS: u32 = Self::MANTISSA_DIGITS;306 const EXP_MASK: Self::Int = Self::EXPONENT_MASK;307 const SIG_MASK: Self::Int = Self::MANTISSA_MASK;308 309 const MIN_EXPONENT_ROUND_TO_EVEN: i32 = -4;310 const MAX_EXPONENT_ROUND_TO_EVEN: i32 = 23;Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
@[global_simps, irreducible]
def F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.SIG_MASK : Result Std.U64 :=
core.f64.F64.MANTISSA_MASKOperations used here
Source details
| Declaration | F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.SIG_MASK |
|---|---|
| File | num/imp/../../traits.rs |
| Lines | 307:4–307:52 |
| Program version | Preparation 1 |