Feeds

Boffin calculates pi to 2.7 trillion digits

On a humble desktop PC

  • alert
  • submit to reddit

High performance access to file storage

Computer scientist Fabrice Bellard says he's calculated pi to a whopping 2.7 trillion digits - a Herculean task which took a humble desktop PC 131 days.

According to the BBC, the previous record of 2.6 trillion digits was held by Daisuke Takahashi of Japan's University of Tsukuba. That number-crunching exercise took just 29 hours, albeit on a T2K Open Supercomputer "2,000 times faster and thousands of times more expensive" than Bellard's bog-standard kit which cost "less than 2000 euros".

The Beeb explains that such exercises are known as "arbitrary-precision arithmetic", or "bignum arithmetic", wherein rather large numbers are calculated to a precision of digits limited only by the computer system's available memory.

In this case, pi to 2.7 trillion digits requires "over a terabyte" of disk storage space and is so long that if you fancy reciting one number a second, you'd be done in 49,000 years.

Bellard admitted he's "not especially interested in the digits of pi" and that "arbitrary-precision arithmetic with huge numbers has little practical use", although "some of the involved algorithms are interesting to do other things".

Ivars Peterson, director of publications at the Mathematical Association of America, explained to the BBC that an exceedingly long pi did indeed serve some purpose. He said: "People have used it as a vehicle for testing algorithms and for testing computers; pi has a precise sequence of digits, it's exactly that, and if your computer isn't operating flawlessly some of those digits will be wrong.

He concluded: "It's more than just for the fun of it - pi is a way of testing a method and then the method can be used for other purposes." ®

Bootnote

Bellard says he's planning to release Linux and Windows (64 bit only) versions of the program he used to do the calculation, and here's his kit list should you wish to give it a go:

Core i7 CPU at 2.93 GHz
6 GB of RAM
7.5 TB of disk storage using five 1.5 TB hard disks (Seagate Barracuda 7200.11 model)

Bellard notes: "The Linux Operating System was used with the 64 bit Red Hat Fedora 10 distribution. The 7.5 TB disk storage was managed using software RAID-0 and the ext4 filesystem. Files of up to 2.5 TB were manipulated during the computation."

High performance access to file storage

More from The Register

next story
Elon Musk's LEAKY THRUSTER gas stalls Space Station supply run
Helium seeps from Falcon 9 first stage, delays new legs for NASA robonaut
Solar-powered aircraft unveiled for round-the-world flight
It's going to be a slow and sleepy flight for the pilots
Russian deputy PM: 'We are coming to the Moon FOREVER'
Plans to annex Earth's satellite with permanent base by 2030
LOHAN's Punch and Judy show relaunches Thursday
Weather looking good for second pop at test flights
Saturn spotted spawning new FEMTO-MOON
Icy 'Peggy' looks to be leaving the outer rings
Discovery time for 200m WONDER MATERIALS shaved from 4 MILLENNIA... to 4 years
Alloy, Alloy: Boffins in speed-classification breakthrough
Curiosity finds not-very-Australian-shaped rock on Mars
File under 'messianic pastries' and move on, people
Top Secret US payload launched into space successfully
Clandestine NRO spacecraft sets off on its unknown mission
Get your MOON GEAR: Auction to feature Space Race memorabilia
Keepsakes from early NASA, Soviet programs up for bids
prev story

Whitepapers

Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
HP ArcSight ESM solution helps Finansbank
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.