The original computes ((base / 100) * den) / 100 with 64-bit-mantissa x87 steps and one final store to a double. The host long double is only 64 bits wide on MSVC and Apple silicon, so the annuity differed by 1 for roughly 0.2 % of realistic loans (1-60 million) there. The chain is now evaluated with integers, identical on every platform. Verified against the original routine in an emulator: 5684 term/principal combinations, no difference. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>