FA-15898 / Floating-point arithmetic / Member archive
An equal-value early return preserves the wrong zero sign · case 03
An equal-value early return preserves the wrong zero sign.
Case contract
Return the binary64 bit pattern one representable step from x toward y, or canonical quiet NaN for NaN operands. Equal operands return the exact bits of y, including zero sign.
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 zero equality | 0 | 9223372036854775808 | 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 ↗