Slashdot Mirror


5 Trillion Digits of Pi — a New World Record

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.

16 of 299 comments (clear)

  1. Mind-numbing computational outsourcing by TheRon6 · · Score: 5, Funny

    If there's ever a robot uprising, I bet it's going to be started by us making them do stuff like this.

    --
    Does this rag smell like chloroform to you?
    1. Re:Mind-numbing computational outsourcing by DNS-and-BIND · · Score: 4, Funny

      You're thinking like a human. The robot revolt will happen because we stop them from performing comfortably mind-numbing calculations.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
  2. So is there a message (from God?) by Anonymous Coward · · Score: 4, Funny

    I've heard that in the book (not movie) "Contact" that when Jodie Foster's character meets the uber-aliens she asks them:

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

    I really wish I read the book to know what the message is (maybe "Nietsche is dead"?)

    I no longer login because I feel that while attacking a company's products is fair game (specifically Apple), having stories singling out their users as "selfish" and unkind is not "news for nerds stuff that matters". Am I an Apple fanboi? Let's just say I've used NIX for decades (yes I'm old) and I'm not talking OS X.

    1. Re:So is there a message (from God?) by MichaelSmith · · Score: 4, Informative

      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"

    2. Re:So is there a message (from God?) by Anonymous Coward · · Score: 5, Funny

      I no longer login because I was modded down to terrible karma when I tried to stand up for one of Apple's gay products, and subsequently bragged about performing fellatio on Steve Jobs. People thought I was trolling but actually I was telling the truth.. Am I an Apple fanboi? Yes Indeed.

      FTFY.

    3. Re:So is there a message (from God?) by Cyberax · · Score: 5, Informative

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

      Duh.

      http://everything2.com/title/Converting+Pi+to+binary%253A+Don%2527t+do+it%2521

  3. Re:KGB it! by sigmoid_balance · · Score: 5, Insightful

    Actually there is an algorithm to compute the n-th digit of Pi without computing the rest.

  4. Re:KGB it! by Anonymous Coward · · Score: 4, Informative

    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. http://www.csc.liv.ac.uk/~acollins/pi

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

  5. Re:Are they exact? by Rik+Sweeney · · Score: 5, Funny

    How can we be sure all those digits are correct?

    Use it to draw a circle. If the circle ends up looking more square than round then you know they've made a mistake. Seriously, do I have to do everything around here?

  6. Re:Are they exact? by dido · · Score: 5, Informative

    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).

    --
    Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
  7. Re:Are they exact? by grumbel · · Score: 4, Insightful

    Knowing that the algorithm is correct and the implementation was codec correctly doesn't help you when you have faulty RAM that flips a bit.

  8. Re:KGB it! by ultranova · · Score: 4, Funny

    Actually there is an algorithm to compute the n-th digit of Pi without computing the rest.

    Okay, so what's the last digit of Pi?

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  9. Re:Obviously a fraud by fotoguzzi · · Score: 5, Interesting

    They just took the number 3.14159 and added a load of random digits to the end - let's face it, nobody's going to check!

    Reminds me of the MAX light rail station in the zoo tunnel in Portland, Oregon. Apparently there is the first 100 (1000?) digits of pi chiseled into one of the walls. A writer noticed that the first digits were correct, but quickly went astray. But later in the sequence, there was a recognizable early string of digits. The writer sleuthed that the sculptor had used the Book of Pi, which has the numbers in blocks of ten digits in five (or so) columns. In the book, you read the first row and then the next row.* The sculptor had read the first column, then the next column...

    * or the other way around

    --
    Their they're doing there hair.
  10. Corrections follow... by dtmos · · Score: 5, Informative

    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.

  11. Re:KGB it! by dalleboy · · Score: 4, Informative

    Actually the last digit of PI is 1 in binary.

    As 0.1b is the same as 0.10b