Program Rust
SIG_MASK
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
251 const BITS: u32 = 32;252 const SIG_TOTAL_BITS: u32 = Self::MANTISSA_DIGITS;253 const EXP_MASK: Self::Int = Self::EXPONENT_MASK;254 const SIG_MASK: Self::Int = Self::MANTISSA_MASK;255 256 const MIN_EXPONENT_ROUND_TO_EVEN: i32 = -17;257 const MAX_EXPONENT_ROUND_TO_EVEN: i32 = 10;Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
@[global_simps, irreducible]
def F32.Insts.Dec2flt_modelNumImpTraitsFloatU32.SIG_MASK : Result Std.U32 :=
core.f32.F32.MANTISSA_MASKOperations used here
Source details
| Declaration | F32.Insts.Dec2flt_modelNumImpTraitsFloatU32.SIG_MASK |
|---|---|
| File | num/imp/../../traits.rs |
| Lines | 254:4–254:52 |
| Program version | Preparation 1 |