FAILURE MAP
← Case archive

FA-69639 / Orbital propagation / Member archive

Stumpff functions for universal variables: Series branch is used far from zero · case 04

Moderate z values lose accuracy in the truncated series.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Input z. For z>1e-6: C=(1-cos s)/z, S=(s-sin s)/s^3 with s=sqrt z; for z<-1e-6: C=(cosh s-1)/(-z), S=(sinh s-s)/s^3 with s=sqrt(-z); otherwise series C=1/2-z/24+z^2/720, S=1/6-z/120+z^2/5040. Return [C,S] rounded to 10.

Why this case matters

Orbit determination and mission planning chain many small conversions; one wrong branch or unit silently moves a spacecraft by kilometres.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
stumpff functions for universal variables -0.05[0.5020868056, 0.1670838294][0.5020868087, 0.1670838297]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 ↗