FAILURE MAP
← Case archive

FA-16628 / Floating-point arithmetic / Member archive

Exact ratio conversion returns a zero denominator for zero · case 03

Exact ratio conversion returns a zero denominator for zero.

Member previewVariant 3 · 3 implementations · 11 checks per implementation

Case contract

Decode a finite binary64 value into its exact reduced signed numerator and positive power-of-two denominator, using (0,1) for either zero. Infinity and NaN return null.

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
zero[0, 0][0, 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 ↗