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 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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)