FAILURE MAP
← Case archive

FA-15918 / Floating-point arithmetic / Member archive

ULP lookup reports NaN as infinity · case 03

ULP lookup reports NaN as infinity.

Member previewVariant 3 · 3 implementations · 9 checks per implementation

Case contract

Return a finite binary64 ulp as a hex string; NaN maps to nan and either infinity maps to infinity. For subnormals and zero the ulp is the minimum positive subnormal.

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
nan"infinity""nan"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 ↗