FA-49962 / PCM sample encoding / Member archive
Pcm companding segment code: magnitude selection · case 02
Negative amplitudes cannot advance through magnitude segments.
Case contract
Encode bounded PCM magnitude into an explicitly stipulated piecewise companding table: sign sideband, selected lower-bound segment and shifted residual mantissa.
Why this case matters
Offline PCM interchange uses these exact bounded packet and sample representation decisions.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| oracle 1 | [[true, 0, 0], [true, 0, 0], [false, 0, 0], [false, 1, 0], [false, 2, 0]] | [[true, 2, 0], [true, 1, 0], [false, 0, 0], [false, 1, 0], [false, 2, 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 ↗