Program Rust
LARGEST_POWER_OF_FIVE
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
7 //! DO NOT MODIFY: Generated by `src/etc/dec2flt_table.py`8 9 pub(super) const SMALLEST_POWER_OF_FIVE: i32 = -342;10 pub(super) const LARGEST_POWER_OF_FIVE: i32 = 308;11 pub(super) const N_POWERS_OF_FIVE: usize =12 (LARGEST_POWER_OF_FIVE - SMALLEST_POWER_OF_FIVE + 1) as usize;13 Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
@[global_simps, irreducible]
def num.imp.dec2flt.table.LARGEST_POWER_OF_FIVE : Std.I32 := 308#i32Source details
| Declaration | num.imp.dec2flt.table.LARGEST_POWER_OF_FIVE |
|---|---|
| File | num/imp/../../dec2flt/table.rs |
| Lines | 10:0–10:50 |
| Program version | Original program |