Program Rust
BiasedFp
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
53 // that implementation preserves the fields, computational derives, and every54 // algorithm operation independently of GOAL truth.55 #[derive(Copy, Clone, PartialEq, Eq, Default)]56 pub struct BiasedFp {57 /// The significant digits.58 pub m: u64,59 /// The biased, binary exponent.60 pub p_biased: i32,61 }62 63 impl BiasedFp {64 /// Represent `0 ^ p`Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
structure num.imp.dec2flt.common.BiasedFp where
m : Std.U64
p_biased : Std.I32Source details
| Declaration | num.imp.dec2flt.common.BiasedFp |
|---|---|
| File | num/imp/../../dec2flt/common.rs |
| Lines | 56:0–61:1 |
| Program version | Revised program |