Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Challenges
#27
Quote:The way I calculate pi is like this: pi = 4 * ATN(1)

That's exactly what I do, just with higher precision calculations that allow more than 17 digits.
Oh yeah and I got this from some site:
atn(1) = 4 * atn(1/5) - atn(1/239)

Quote:when I tried to modify your prog to calculate pi to 10000 places someone42, it started printing zeroes after a while

Are you just changing the "FOR t% = 1 to 1000" line? The numbers I use are 4096-bit numbers, which can hold 1233 decimal digits. You have to change other things. I have tried to get it to give 10000 digits but for some utterly strange reason after about 2000 digits everything is *wrong*.
Reply


Messages In This Thread
New Challenges - by wildcard - 09-10-2002, 03:46 AM
New Challenges - by wizardlife - 09-10-2002, 06:41 AM
New Challenges - by wizardlife - 09-10-2002, 06:44 AM
Another challenge - by LooseCaboose - 09-10-2002, 09:11 AM
New Challenges - by aetherfox - 09-15-2002, 06:21 PM
New Challenges - by wizardlife - 09-16-2002, 01:28 AM
New Challenges - by wildcard - 09-16-2002, 02:14 AM
New Challenges - by mofu - 09-26-2002, 01:10 AM
New Challenges - by wildcard - 09-26-2002, 02:38 AM
New Challenges - by Neo - 09-26-2002, 02:29 PM
New Challenges - by mofu - 09-26-2002, 05:02 PM
New Challenges - by wildcard - 09-26-2002, 07:36 PM
New Challenges - by mofu - 09-27-2002, 12:32 AM
New Challenges - by na_th_an - 11-06-2002, 03:30 AM
New Challenges - by wizardlife - 11-06-2002, 04:30 AM
loosecabooses challange... - by eKrax - 12-17-2002, 04:44 AM
New Challenges - by LooseCaboose - 12-17-2002, 04:59 AM
New Challenges - by LooseCaboose - 12-18-2002, 06:59 AM
... - by eKrax - 12-18-2002, 08:06 AM
New Challenges - by LooseCaboose - 12-18-2002, 09:22 AM
New Challenges - by Generic - 02-03-2003, 04:30 AM
About the pi program... - by oracle - 03-21-2003, 09:39 AM
New Challenges - by someone42 - 03-21-2003, 03:30 PM
pi - by oracle - 03-22-2003, 03:25 AM
New Challenges - by someone42 - 03-22-2003, 08:43 AM
New Challenges - by oracle - 03-22-2003, 11:45 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)