Post Reply 
50 digits precision handheld calculator is it achievable or not?
01-19-2014, 10:19 PM
Post: #19
RE: 50 digits precision handheld calculator is it achievable or not?
(01-19-2014 03:37 PM)Joe Horn Wrote:  
(01-18-2014 12:41 AM)Gerson W. Barbosa Wrote:  Pi is hard-coded into the Long Float Library, but you can compute it to one thousand places (and more) just for fun, if you wish (see the last message in this thread).

Actually, only the first 126 digits of pi are hard-coded in LongFloat library. If you set 'DIGITS' to anything > 126, then pi is calculated to that many digits ("using Werner Huysegom's implementation of Chudnowsky") and stored in the 'FLOATpar' Library Data object for later fast retrieval. For example, the first time you tell LongFloat to give you 1000 digits of pi, it takes 42 seconds. Afterwards, asking for 1000 digits of pi (or less) takes less than a tenth of a second.
I stand corrected. Thank you, Joe!

Gerson.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 50 digits precision handheld calculator is it achievable or not? - Gerson W. Barbosa - 01-19-2014 10:19 PM



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