Program Rust
INF_8
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
270 271 // u64 values corresponding to relevant cases272 const INF_3: u64 = 0x464E49; // "INF"273 const INF_8: u64 = 0x5954494E49464E49; // "INFINITY"274 const NAN: u64 = 0x4E414E; // "NAN"275 276 // 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 | 273:4–273:42 |
| Program version | Revised program |