Post Reply 
RE: HP48-HP50G : Error functions ERF(z), FRESNEL integrals, PROBIT, etc.
11-11-2023, 12:32 AM
Post: #6
RE: HP48-HP50G : Error functions Erf(x), Erfc(x) & Erf/Erfc —>x
(11-10-2023 08:15 PM)Gil Wrote:  Modified J. Keith's Erf (x) :
\<< DUP SIGN NEG 1 ROT SQ 2 * UTPC 1 - *
\>>

(40 bytes instead of 50 bytes —> space gain of 20%).

Besides, evaluation time reduced by about 10%.

"My" previously given version is still shorter and faster, but less accurate for x<0.

Very nice! Have you tried Albert's suggestion of deriving ERF from ERFC?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP48-HP50G : Error functions Erf(x), Erfc(x) & Erf/Erfc —>x - John Keith - 11-11-2023 12:32 AM



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