pi

Blitz3D Forums/Blitz3D Beginners Area/pi

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I had a program once that did pi to any number of decimal points as long as your memory could hold it.
I believe it was on the Amiga, I know there is a formula that you just iterate over and over again to get as much accuracy as you want.
Keep looking.
I remember pi off by heart to a few decimal points.
3.141592653589793236 I think that is right.
I used to know it to 40 decimal points but forgot.
I did run that program I had and printed pi out to 1000 decimal points. So I know it works, just don't remember the formula.
I do seem to remember it used 2 sets of values and flipped back and forth between them.