Source context

Program Rust

SMALLEST_POWER_OF_FIVE

This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.

6 //!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;

Aeneas declaration

The Lean below was mechanically extracted by Aeneas from Rust.

@[global_simps, irreducible]
def num.imp.dec2flt.table.SMALLEST_POWER_OF_FIVE : Std.I32 := (-342)#i32
Source details
Declarationnum.imp.dec2flt.table.SMALLEST_POWER_OF_FIVE
Filenum/imp/../../dec2flt/table.rs
Lines9:0–9:52
Program versionPreparation 2