Program Rust
INF_8
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
267 268 // u64 values corresponding to relevant cases269 const INF_3: u64 = 0x464E49; // "INF"270 const INF_8: u64 = 0x5954494E49464E49; // "INFINITY"271 const NAN: u64 = 0x4E414E; // "NAN"272 273 // Match register value to constant to parse string.Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
@[global_simps, irreducible]
def num.imp.dec2flt.parse.parse_inf_nan.INF_8 : Std.U64 :=
6436850368004902473#u64Source details
| Declaration | num.imp.dec2flt.parse.parse_inf_nan.INF_8 |
|---|---|
| File | num/imp/../../dec2flt/parse.rs |
| Lines | 270:4–270:42 |
| Program version | Original program |