newRPL  build 1255 released! [updated to 1299]

01092018, 04:27 PM
(This post was last modified: 01092018 05:21 PM by BarryMead.)
Post: #107




RE: newRPL  build 1001 released! [update:build 1016]
(01092018 03:49 PM)Claudio L. Wrote: It uses an approximated method, so they should all be approximated. But sometimes the numerical method might converge exactly to the value after some iterations. Since the iterations use divisions, any number that has factors of 2 and 5 can be represented exactly. I didn't check in detail every iteration, but if the method has all exact divisions for a certain number it's final result will be exact.That explains the behavior of the square root function, but why does the XROOT function return better more accurate answers? If the square root function were implemented as a call to XROOT with the second parameter fixed at 2 it would behave as expected. I wrote my own SQRT function like this that works better than the builtin one. « 2 XROOT » 'SQRT' STO 

« Next Oldest  Next Newest »

User(s) browsing this thread: