FA-11470 / Compiler transformation correctness / Member archive
Division strength reduction rounds negative dividends downward · case 05
Division strength reduction rounds negative dividends downward.
Case contract
Lower signed mathematical integer division by 2**shift, shift>=0, returning truncation toward zero. No finite-width overflow is modeled.
Why this case matters
A deterministic miniature compiler-pass model; inputs are explicit IR facts, not a production compiler.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| negative nonmultiple | -2 | -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 ↗