Program Rust
SIG_MASK
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
197 const BITS: u32 = 16;198 const SIG_TOTAL_BITS: u32 = Self::MANTISSA_DIGITS;199 const EXP_MASK: Self::Int = Self::EXPONENT_MASK;200 const SIG_MASK: Self::Int = Self::MANTISSA_MASK;201 202 const MIN_EXPONENT_ROUND_TO_EVEN: i32 = -22;203 const MAX_EXPONENT_ROUND_TO_EVEN: i32 = 5;Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
@[global_simps, irreducible]
def F16.Insts.Dec2flt_modelNumImpTraitsFloatU16.SIG_MASK : Result Std.U16 :=
core.f16.F16.MANTISSA_MASKOperations used here
Source details
| Declaration | F16.Insts.Dec2flt_modelNumImpTraitsFloatU16.SIG_MASK |
|---|---|
| File | num/imp/../../traits.rs |
| Lines | 200:4–200:52 |
| Program version | Preparation 1 |