FA-16097 / Floating-point arithmetic / Member archive
ULP distance complements the second negative encoding without zero alignment · case 02
ULP distance complements the second negative encoding without zero alignment.
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 |
|---|---|---|---|
| negative adjacent | 9223372036854775810 | 1 | 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 ↗