Exact rounding

The statement differs between program versions. Each verdict below belongs to the statement shown on its page.

Exact rounding

Open
dec2flt
Exact rounding. On acceptance of any numeric literal, the returned float is its exact value rounded to binary64.

This snapshot lacks a unique goal binding with committed coverage.

Supporting proofs
Inspect related source (201)
More program dependencies (159)
Standard-library dependencies (39)

Related source and models come from the extraction records and declared dependencies.

Compare requirement statements

Revised program

dec2flt
Conditional exact rounding. On acceptance of any numeric literal whose complete Rust string has byte length at most ≈ 512 PiB, the returned float is its ordinary mathematical exact decimal value rounded to binary64 round-to-nearest, ties-to-even. This includes subnormal results, signed zero with the literal's lexical sign, and overflow to infinity with that sign. The explicit exponent has its ordinary mathematical meaning; no restriction on its digit count or value is added beyond the stated complete-string byte-length bound.

Read this version’s verdict and proof

Models and assumptions

Program assumptions and trust

These modeling choices occur in the declared dependencies of this requirement’s proofs.

All 31 entries