FAILURE MAP
← Case archive

FA-16472 / Floating-point arithmetic / Member archive

Complex logarithm normalizes by the smaller component · case 02

Complex logarithm normalizes by the smaller component.

Member previewVariant 2 · 3 implementations · 9 checks per implementation

Case contract

Principal logarithm of nonzero finite complex x+iy, using hypot and atan2; zero returns a pole marker. Inputs keep hypot finite. Finite results are rendered to eleven significant decimal digits; modeled domain violations and arithmetic errors are explicit strings.

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
negative real above"arithmetic-error"["0.69314718056", "3.1415926536"]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 ↗