Post Reply 
Small RPN exponential routine
01-27-2015, 08:52 PM (This post was last modified: 12-27-2023 12:51 AM by Thomas Klemm.)
Post: #21
RE: Small RPN exponential routine
(01-27-2015 12:56 PM)Eddie W. Shore Wrote:  Is this the origin for the LPN1 function? (I need to be here more often)

Not sure if you mean LN1+X for the HP-41C or log1p in Python:
Quote: log1p(x)

Return the natural logarithm of 1+x (base e).
The result is computed in a way which is accurate for x near zero.

At least in case of HP-calculators the CORDIC algorithm is used and not the Taylor Series of \(\ln(1+x)\):

[Image: 54ed0cacb65c1570301eb072934a6b71.png]

Thus I might disappoint you: these are not the same.

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Small RPN exponential routine - Namir - 01-21-2015, 12:34 AM
RE: Small RPN exponential routine - Namir - 01-20-2015, 09:24 PM
RE: Small RPN exponential routine - Namir - 01-22-2015, 08:41 AM
RE: Small RPN exponential routine - Namir - 01-23-2015, 05:11 PM
RE: Small RPN exponential routine - Thomas Klemm - 01-27-2015 08:52 PM



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