Post Reply 
HP Prime bug for approximate(erfc(z)), z as (0+b*i), or erf(b*i)
11-15-2023, 08:23 PM
Post: #6
RE: HP Prime bug for approximate(erfc(z)), z as (0+b*i), or erf(b*i)
I confirm a small bug for erfc if |z| is between 3 and 6.5 and re(z) is small (missed a 1 in real part). In this area, erf is computed with a continued fraction expansion
2*exp(z^2)*int(exp(-t^2),t=z..inf)=1/(z+1/2/(z+1/(z+3/2/(z+...))))
There is a warning of low accuracy if re(z) is small : I must indeed stop the fraction expansion and since we do not have multiprecision floats there are some wrong digits.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime bug for approximate(erfc(z)), z as (0+b*i), or erf(b*i) - parisse - 11-15-2023 08:23 PM



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