Program Rust
MAX_EXPONENT_DISGUISED_FAST_PATH
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
217 impl Lemire for f64 {218 // Exact upstream formula results for `SIG_TOTAL_BITS = 53`.219 const MAX_EXPONENT_FAST_PATH: i64 = 22;220 const MAX_EXPONENT_DISGUISED_FAST_PATH: i64 = 37;221 222 fn pow10_fast_path(exponent: usize) -> Self {223 // These bit patterns are exactly the source table's rounded binary64Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
@[global_simps, irreducible]
def
F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64.MAX_EXPONENT_DISGUISED_FAST_PATH
: Std.I64 :=
37#i64Source details
| Declaration | F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64.MAX_EXPONENT_DISGUISED_FAST_PATH |
|---|---|
| File | num/imp/../../dec2flt/mod.rs |
| Lines | 220:4–220:53 |
| Program version | Original program |