Post Reply 
Calculating e^x-1 on classic HPs
02-03-2019, 08:28 PM (This post was last modified: 02-03-2019 08:31 PM by Albert Chan.)
Post: #39
RE: Calculating e^x-1 on classic HPs
Hi, Dieter

I like your expm1 code very much ! Thanks Smile

It is amazing about its symmetry with your log1p code:

expm1(x) = (u-1) - (ln(u) - x) * u, where u = exp(x), rounded

log1p( x ) = ln(u) - ((u-1) - x) / u, where u = 1+x, rounded
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Calculating e^x-1 on classic HPs - Dieter - 01-11-2016, 10:20 PM
RE: Calculating e^x-1 on classic HPs - Albert Chan - 02-03-2019 08:28 PM



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