C for PI

This is a discussion on C for PI within the C Programming forums, part of the General Programming Boards category; I have been looking for a program to calculate pi to a digit given
all I have seen so far ...

but it can't be wrong because your taking the area of a circle who's radius is 1 which is PI

The integral is for area under the curve and because
R^2=Y^2+X^2 = Circle
Y(x)=sqrt(1-x^2)
integrate that and you get PI/2
so 2 * that = PI exact
but the problem is
whenever you integrate on a machine the machine has a CONSTANT PI that is built in

Why do you not just write your own program to do it? There are a plethora of sites with the necessary summations for you. Its a pretty trivial problem to implement them, and I'm sure that lots of people will be glad to help you if you have any difficulties. If all you want is the binaries for some reason, then you might as well go to one of the many websites that contain the value of pi to immense length.

I go to encounter for the millionth time the reality of experience and to forge in the smithy of my soul the uncreated conscience of my race.

Windows XP consists of 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.

I think the real problem is the memory allocation required for PI
the last source can compute pi to quite some distance
add a few zero's to the Constant and there you go
BUT THE PROGRAM TAKES FOREVER IF YOU DO
but it still only displays 3.14159
because the allocation available for a double however if you debug it in Linux you can see the whole thing which is pretty accurate.