For those who just want a more accurate Pi

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

For those who just want a more accurate Pi

Post by Psychophanta »

http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Now we're just waiting for the doubles.... :lol:
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Did you count them?
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

lol!
@}--`--,-- A rose by any other name ..
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Excellent ;)
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

http://www.solidz.com/pi/pi-32m.txt.bz2 <- 32 million decimal places.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Blimey! :)

Just the shot for those 3D calcs.
@}--`--,-- A rose by any other name ..
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Just updated my #PI constant, thank you! :lol:
I like logic, hence I dislike humans but love computers.
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

Post by RichardL »

One of those silly things that I remember from school days; over half a century ago!

Sir I have a rhyme excelling in mystic force and magic spelling
Celestial sprites elucidate all my own striving can't relate

Count the letters in each word. PI to 20 decimal places. I've not checked it so I might have forgotten a word...



Slightly more useful...
For an approximation to PI many people use 22/7 which is OK for estimating.
Try this instead:

Write down the first three odd numbers, writing each number twice: 113355
Split the numbers into two: 113 355
Divide the larger number by the smaller: 355/113
Not a bad approximation; about three parts in 10 million
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

I can't find an old program that was calculating pi by drawing and substracting a circle in a square. Very fun, in a few lines of code!
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I p r e f e r p I (reads the same forwards and backwards)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

djes wrote:I can't find an old program that was calculating pi by drawing and substracting a circle in a square. Very fun, in a few lines of code!
Might be this ? :
viewtopic.php?t=8530
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

Psychophanta wrote:
djes wrote:I can't find an old program that was calculating pi by drawing and substracting a circle in a square. Very fun, in a few lines of code!
Might be this ? :
viewtopic.php?t=8530
Mmm? Which one? There isn't anything graphic?!
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

djes wrote:Mmm? Which one? There isn't anything graphic?!
Opps, no graphic there, but the second code posted solves lots of Pi decimal places.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply