Approximate pi to 24 digits via keyboard
|
02-06-2015, 03:03 PM
Post: #31
|
|||
|
|||
RE: Approximate pi to 24 digits via keyboard
(02-05-2015 02:32 PM)Dieter Wrote: Then let's start a 41C bug list, a 67/97 bug list, any many others. Loss of accuracy in the sine function (and probably others) for arguments close to pi is a common problem. Let's look at our good old trusted and beloved 41C: Just when I thought my trig routines for newRPL were good and stable... I just tried this using SIN of all digits of PI except the last one, and my code produces only 10 good digits (worst case, varies with the selected precision). So imagine you select a 500 digit precision and only get 10 good digits! What a joke, I need to work on that argument reduction. Granted, if you are close to pi with 499 digits matching, the value of those digits may have no practical meaning, but after reading this thread, I want newRPL to return the next 500 digits of pi Thanks to all the people who participate in discussions of this kind, now I'll be able to make sure this works properly. Claudio |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)