The GitHub Actions job "Java CI with Ant" on poi.git/fix/irr-bracketed-fallback 
has failed.
Run started by GitHub user falhenaki (triggered by falhenaki).

Head commit for run:
021f48f99464e95d4658ae5974f26c2faf267bd2 / Tanma <[email protected]>
IRR: add bracketed Newton-Raphson fallback for divergent cases

The unguarded Newton-Raphson iteration in Irr.irr() can converge to
financially meaningless rates below -100%, or return NaN for cash flows
that have an ordinary root (follow-up to bug 64137, which raised the
iteration cap but left the divergence itself in place).

Keep the historical loop as an unchanged fast path so existing results
are identical, and only when it returns NaN or a rate <= -1 fall back to
a bracketed Newton-Raphson with bisection safeguard over (-1, 10000].
The warn logs move to the fallback, where a NaN really is final.

Co-Authored-By: Claude Fable 5 <[email protected]>

Report URL: https://github.com/apache/poi/actions/runs/31857350068

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to