Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Math Science Hardware

5 Trillion Digits of Pi — a New World Record 299

KPexEA writes "Alexander J. Yee & Shigeru Kondo claim to have calculated the number pi to 5 trillion places, on a single desktop and in record time. The main computation took 90 days on Shigeru Kondo's desktop. Verification was done using two separate computers. The program that was used for the main computation is y-cruncher v0.5.4.9138 Alpha." Looks like the chart of computer-era approximations of Pi here might need an update.
This discussion has been archived. No new comments can be posted.

5 Trillion Digits of Pi — a New World Record

Comments Filter:
  • Update... (Score:1, Informative)

    by Anonymous Coward on Friday August 06, 2010 @05:26AM (#33159110)

    Looks like the chart of computer-era approximations of Pi here might need an update.

    This chart is very outdated anyway.

    It doesn't even list Daisuke Takahashi (2009, 2.576.980.370.000 digits), and Fabrice Bellard (2010, 2.699.999.990.000 digits) []

  • Re:Update... (Score:4, Informative)

    by LingNoi ( 1066278 ) on Friday August 06, 2010 @05:40AM (#33159166)

    Wikipedia has a much better page available. []

  • Re:Trillion? (Score:4, Informative)

    by LingNoi ( 1066278 ) on Friday August 06, 2010 @05:45AM (#33159180)

    This page has more details [], what I find interesting is that he needed 96.0 GB of ram to do the number crunching.

  • Re:KGB it! (Score:4, Informative)

    by Anonymous Coward on Friday August 06, 2010 @05:55AM (#33159240)

    The BBP formulas handle this. A quick Google for Bailey-Borwein-Plouffe should give you all the citations you ever need.

    A working example of the BBP formula can be found in Javascript on this webpage.

    Warning: it WILL hang some web browsers as the author does not use web worker API.

  • by MichaelSmith ( 789609 ) on Friday August 06, 2010 @05:56AM (#33159242) Homepage Journal

    The aliens are vague about the location of the message (it might be in pi) so the Foster character runs software to search for it. Right at the end of the book her program finds a pattern (A circle drawn in 1s and 0s in an 11 by 11 matrix). This pulls together the thread in the book about belief in god vs religion. It turns out that somebody made the universe after all, and the Christians had been (sort of) right all along, though the scientists were right to demand evidence.

    I love both the book and film. Thats unusual for me. The Postman was a fantastic book. Don't get me started on the movie.

    I often put the DVD of Contact on just to watch the sequence where Fosters character first hears the signal and her crew reconfigure the telescope to analyse it. Its a classic tech scene.

    "Once upon a time I was a hell of an engineer"

  • Re:Trillion? (Score:3, Informative)

    by Anonymous Coward on Friday August 06, 2010 @05:56AM (#33159246)

    last time i checked, trillion was not a proper SI prefix.
    what you probably mean is "tera-", but in my native language a trillion is 10^18, which would be the "exa-" SI prefix.

    check this:

  • Re:Are they exact? (Score:5, Informative)

    by dido ( 9125 ) <> on Friday August 06, 2010 @06:09AM (#33159278)

    If you want to prove that all the digits are correct, you only have to check a few things:

    1. There is a sound mathematical proof that the algorithm used in fact does generate the digits of pi, and
    2. The algorithm was coded correctly. This should be even easier to check, though likely more tedious.

    Now, what it's good for is a little harder. There is no physical application for such a highly accurate value of pi (39 digits should be sufficient to calculate the circumference of the known universe given its radius to within the diameter of a hydrogen atom). However, large numbers of digits of pi are useful as arguments in number theory, statistics, and information theory. For instance, there is no real proof that pi is a normal number [], but as more digits of pi are found and the statistical properties of the digits are analyzed and shown to be consistent with the definition of normal numbers, that makes the conjecture that pi is actually normal a little closer to being true (see experimental mathematics []).

  • by dtmos ( 447842 ) * on Friday August 06, 2010 @06:49AM (#33159414)

    But don't we have algorithms which let us calculate pi to an arbitrary number of digits?

    Yes, we do. Mathematical algorithms, i.e., equations on paper.

    Well-known series methods computed using algorithms which have been tuned and re-tuned to the point where it's not really possible to make further major computational optimizations?

    Absolutely not. The algorithms have to run on practical, exists-on-the-Earth-today computers. Try to multiply two, million-digit numbers together on your laptop and you'll see what I mean. These achievements are all about computational optimizations. RTFA -- especially the sections entitled "Arithmetic Algorithms" and "Maximizing Scalability." Even the algorithm used for multiplication changes (dynamically!) during the program's execution, based on the size of the operands.

    Therefore this isn't so much a new accomplishment as it is "hey look, I left my pi calculating program running longer than the last guy" modified by the occasional minor optimization tweak and running on faster hardware?

    Not even close. The computations are so long, and so intense, that errors caused by hardware imperfections can be expected, so error detection and correction algorithms have to be added. If "I left my pi calculating program running longer than the last guy" it would not produce the correct result -- even if the data structures and algorithms it used were up to the task.

    But is it really, really something that's newsworthy?

    In a word, yes. Could you do it? It's a very, very difficult technical feat, one that required hardware powers and software abilities far beyond those of mortal men. Besides, you're worried about newsworthiness when the two previous /. articles are on wall-climbing robots and the popularity of video game arcades in New York?

    And if hypothetical "needing pi to 5 trillion digits" guy needed it to that precision that badly - wouldn't he have already let the calculation run long enough to get it already if this particular calculation only took 90 days?

    This isn't about needing pi to 5 trillion digits. This is about learning how to do large computations faster. Like, improving the state of the art.

  • by Cyberax ( 705495 ) on Friday August 06, 2010 @07:00AM (#33159454)

    "Taken aback "Really, why?"
    -"We have proof, when PI is expended out to (some number), there is a message"..."

    Duh. []

  • by gringer ( 252588 ) on Friday August 06, 2010 @07:44AM (#33159674)

    Pi should be calculated in base 3.141593...

    You're out on the 6th decimal digit (unless you're going to stop there). Pi is greater than 3.1415926 and less than 3.1415927.

    Have I been trolled?

  • Re:KGB it! (Score:4, Informative)

    by dalleboy ( 539331 ) on Friday August 06, 2010 @08:11AM (#33159794) Homepage

    Actually the last digit of PI is 1 in binary.

    As 0.1b is the same as 0.10b

  • pi is Wrong (Score:2, Informative)

    by theritz ( 1116521 ) on Friday August 06, 2010 @08:35AM (#33160040) Homepage [] I endorse the views expressed in above piece.
  • by origin2k ( 302035 ) on Friday August 06, 2010 @10:57AM (#33162182)

    Prices from Newegg and CDW (Newegg doesn't carry the memory)

    CPU(s) $3,446.30
    Memory $6,708.00
    MB $359.00
    Disks $3,599.84
    Disk controllers $1,058.00
    OS $659.00
    Case/Misc $500.00

    Total $16,330.14

The unfacts, did we have them, are too imprecisely few to warrant our certitude.