FAILURE MAP
← Case archive

FA-16905 / Floating-point arithmetic / Member archive

Decimal quantization strips zeros required by the requested quantum · case 05

Decimal quantization strips zeros required by the requested quantum.

Member previewVariant 5 · 3 implementations · 11 checks per implementation

Case contract

Quantize a decimal text to 10**exponent using a fresh precision-limited decimal context, half-even rounding, Emin=-9 and Emax=9. All traps are disabled; return result string and raised flag names. The coefficient precision includes trailing zeros imposed by the target quantum.

Why this case matters

An offline floating representation model isolates a reproducible arithmetic fault.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
rounded exact["5.2", ["Rounded"]]["5.20", ["Rounded"]]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 ↗