Calculating e^x1 on classic HPs

01152016, 02:00 PM
(This post was last modified: 01152016 02:03 PM by Dieter.)
Post: #29




RE: Calculating e^x1 on classic HPs
(01152016 01:19 AM)Paul Dale Wrote: e^{x}–1 is calculated using 39 digits. You should stay with the current code. Who cares about the last digit in a 39digit calculation when only 34 digits are returned to the user? And who knows the accuracy of the exp and log functions? Finally, the current method is Kahanproof. ;) But you can speed up the e^{x}–1 function by adding the test whether e^{x}>2 resp. v>1. This avoids, for larger arguments, a call of the log function which, as far as I remember, is particulary slow on the 34s. Dieter 

« Next Oldest  Next Newest »

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