FA-16094 / Floating-point arithmetic / Member archive
ULP distance leaves the first negative encoding unsigned · case 04
ULP distance leaves the first negative encoding unsigned.
Case contract
Distance between finite binary64 values in representable steps, treating the two zeros as a single position; NaN or infinity yields null. Negative and positive subnormals are adjacent through zero.
Why this case matters
An offline floating representation model isolates a reproducible arithmetic fault.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| zero signs | 9223372036854775808 | 0 | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗