Re: Computing pi to nth terms?

From: John Harrison (john_andronicus_at_hotmail.com)
Date: 09/21/04


Date: Tue, 21 Sep 2004 07:01:48 +0100


"Kraig" <tsi1990@gmail.com> wrote in message
news:qwI3d.50896$zT6.36771@bignews5.bellsouth.net...
>I am attempting to pass powers of two, from one to 16777216, to a
>calculation that approximates pi for each respective power of two
>previously mentioned. It's the second loop, the calculation of pi using
>the int created in the first loop, that is proving problematic.
>

You don't need a second loop, its easier than that, see my last two posts.

john



Relevant Pages

  • Power Of The Day -- Lyndon
    ... calculations for the challenge totals. ... Powers, Emotion Control, ... loss for the challenge only regards the second calculation. ... You may use your power as a main player. ...
    (rec.games.board.ce)
  • Power Of The Day -- Lyndon
    ... calculations for the challenge totals. ... Powers, Emotion Control, ... loss for the challenge only regards the second calculation. ... You may use your power as a main player. ...
    (rec.games.board.ce)
  • Re: Math Error in the .NET Framework 1.1.4322 SP1
    ... the overloaded function System.Math.Log ... running) then this calculation is a nightmare. ... There are also other powers of 2 that are off. ... confirmed that 9 of them are off when run inside the IDE. ...
    (microsoft.public.dotnet.academic)
  • Re: Computing pi to nth terms?
    ... I am attempting to pass powers of two, from one to 16777216, to a ... the calculation of pi using ... the int created in the first loop, ... Kai-Uwe Bux wrote: ...
    (comp.lang.cpp)