Ticket #5901 (closed: fixed)
Back2BackExponential lacks proper asymptotic aproximation
Reported by: | Jose Borreguero | Owned by: | Jose Borreguero |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.3 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Andrei Savici |
Description
f(x) = exp(U(x))*erfc(Y(x)) + exp(V(x))*erfc(Z(x)) signals overflow for large abs(x) values due to exp(U) and exp(V), even though the products exp(U)*erfc(Y) and exp(V)erfc(Z) go to zero.
Fix: insert conditions checking for potential overflow, and set the potentially offending product to zero in such case.
Change History
comment:3 Changed 8 years ago by Jose Borreguero
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 8 years ago by Andrei Savici
- Status changed from verify to verifying
- Tester set to Andrei Savici
comment:6 Changed 8 years ago by Jose Borreguero
Refs #5901 Added conditions checking for potential overflow
modified: BackToBackExponential.h modified: BackToBackExponential.cpp
Changeset: aabcd6acfa3745f782f183ad91932e3c2221d24b
Note: See
TracTickets for help on using
tickets.
Refs #5901 Added conditions checking for potential overflow
modified: BackToBackExponential.h modified: BackToBackExponential.cpp