Post Reply 
Many digits of pi again
01-27-2014, 07:52 PM (This post was last modified: 09-29-2014 02:29 PM by Katie Wasserman.)
Post: #2
RE: Many digits of pi again
(01-27-2014 06:44 AM)Benoit Maag Wrote:  Some programs manage 6 digits per memory, some 7 or 8. I suspect the choice is based on a combination of internal precision of calculation and the number of terms calculated. Is there a thread describing how to select the number of digits per memory? Or can someone clarify that? (Katie?)

Yes, you've got that exactly right.

The argument gos something like this:

I have a 10-digit calculator so I can fit 8 digits into each memory register allowing for multiplication/division of up to 2 digits. So now I can calculate up to 1000 digits. But at XXX digits I need 3 digits in my multiplication/division so I can only use 7 digits per register.

You can write a simple formula for this but there are idiosyncrasies of each calculator that need to be taken into consideration and certain programing tricks allow for more (or less) precision, etc.. It's not easy to figure out the maximum number of digits unless you error on the side of caution or do it experimentally.

The 16C is a fun calculator to play this game on since it gives you such nice control over the word size.


Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Many digits of pi again - Benoit Maag - 01-27-2014, 06:44 AM
RE: Many digits of pi again - Katie Wasserman - 01-27-2014 07:52 PM
Verification using Linux - Frozen North - 03-22-2014, 01:34 AM
RE: Many digits of pi again - davetheguru - 03-23-2014, 12:20 AM
RE: Many digits of pi again - d b - 02-12-2015, 07:06 PM
RE: Many digits of pi again - rprosperi - 02-12-2015, 10:59 PM

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