FAILURE MAP
← Case archive

FA-15958 / Floating-point arithmetic / Member archive

Nearest rounding loses the round bit after a guard · case 03

Nearest rounding loses the round bit after a guard.

Member previewVariant 3 · 3 implementations · 12 checks per implementation

Case contract

Round a nonnegative integer significand q with guard, round and sticky bits. Modes are nearest-even, nearest-away, zero, up, down; sign is +1 or -1. Return rounded signed integer, inexact flag, and whether rounding incremented the magnitude.

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
above tie round[6, true, false][7, true, true]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 ↗