FAILURE MAP
← Case archive

FA-14419 / Numerics / Member archive

Rational continued fraction: floor partial quotient · case 04

The exact rational continued fraction result violates the stated contract at floor partial quotient.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [p,q], q>0; canonical simple continued fraction of p/q with last term>1 unless singleton. Bounds: -25<=p<=25 and 1<=q<=17.

Why this case matters

Exact discrete arithmetic with observable algorithmic state; no floating point approximation is used.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
explicit oracle 0[-4, -6][-5, 1, 5]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 ↗