Post Reply 
(PC-12xx~14xx) qthsh Tanh-Sinh quadrature
04-08-2021, 10:43 PM
Post: #43
RE: (PC-12xx~14xx) qthsh Tanh-Sinh quadrature
(04-08-2021 06:17 PM)robve Wrote:  Perhaps there is also a difference between Inf and NaN, because with
Inf the limit is clearly not finite and with NaN we don't necessarily know.

Unless formula is very simple, there is not enough information to claim returning inf implied infinite true result.

Cas> f(u) := atanh(u*u*(3-2*u)) * 6*u*(1-u)
Cas> u = 1 - 10^-9
Cas> f(float(u))       → ∞
Cas> float(f(u))       → 1.23123199576e-07
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (PC-12xx~14xx) qthsh Tanh-Sinh quadrature - Albert Chan - 04-08-2021 10:43 PM



User(s) browsing this thread: 7 Guest(s)