Improve expo analytical integral stability#21060
Improve expo analytical integral stability#21060swetank18 wants to merge 5 commits intoroot-project:masterfrom
Conversation
|
This will clash with #20992. Should we close that one? |
Thanks for pointing this out. |
Let's move it here, so we can save a few CI runs. |
Test Results 7 files 7 suites 14h 51m 57s ⏱️ For more details on these failures, see this check. Results for commit f3dcfcc. |
|
The tests seem to fail because the commit from #20993 is not in here, but the tests rely on this behaviour. So maybe we should do the following:
@swetank18, what do you think? |
Thanks, that makes sense to me. |
f3dcfcc to
dcf9bb8
Compare
|
Apply clang-format
Motivation
The analytical integral of exponential TF1 functions computes differences of
exponentials, which can suffer from numerical cancellation or overflow when the
integration bounds are close or the exponent is large.
Changes
expm1-based formulation
Impact