FAILURE MAP
← Case archive

FA-16883 / Floating-point arithmetic / Member archive

Decimal quantization negates the requested quantum exponent · case 03

Decimal quantization negates the requested quantum exponent.

Member previewVariant 3 · 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
tie odd["0E+2", ["Inexact", "Rounded"]]["3.26", ["Inexact", "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 ↗