(28/48/50) Lambert W Function
|
04-04-2023, 07:09 PM
Post: #28
|
|||
|
|||
RE: (28/48/50) Lambert W Function
Your HP-71 program from post #19 is very good. It outperforms my program in both branches for -1/e < x <= -.2
I frankly don't feel that FNL from post #20 is worth the extra memory requirement since the post 19 program is always within 3 ULP's. Here is my RPL translation. It is optimized for size rather than readability (lots of "stackrobatics") so I have added comments corresponding to the BASIC statements. As with the other programs, the level 2 argument is k, and the level 1 argument is x. This program is not intended for x > -.1, nor for k other than 0 or -1. I'm not sure whether I will integrate it into the main program, which already takes over 600 bytes. For now I'll just leave it as-is for anyone who needs higher accuracy near the branch point. Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 15 Guest(s)