FA-3617 / Binary formats / Member archive
A sign-magnitude octet is decoded as two-complement · case 02
A sign-magnitude octet is decoded as two-complement.
Case contract
Decode high-bit sign and seven-bit magnitude, with either zero representation mapping to zero.
Why this case matters
A local executable model for consumers of structured text; oracle values are authored literals, not outputs copied from the repaired implementation.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| boundary 1 | -127 | -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 ↗