Feeds

Boffin calculates pi to 2.7 trillion digits

On a humble desktop PC

  • alert
  • submit to reddit

Build a business case: developing custom apps

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

Securing Web Applications Made Simple and Scalable

More from The Register

next story
World Solar Challenge contender claims new speed record
One charge sees Sunswift travel 500kms at over 100 km/h
SMELL YOU LATER, LOSERS – Dumbo tells rats, dogs... humans
Junk in the trunk? That's what people have
The Sun took a day off last week and made NO sunspots
Someone needs to get that lazy star cooking again before things get cold around here
Boffins discuss AI space program at hush-hush IARPA confab
IBM, MIT, plenty of others invited to fill Uncle Sam's spy toolchest, but where's Google?
Bad back? Show some spine and stop popping paracetamol
Study finds common pain-killer doesn't reduce pain or shorten recovery
BEST BATTERY EVER: All lithium, all the time, plus a dash of carbon nano-stuff
We have found the Holy Grail (of batteries) - boffins
Forty-five years ago: FOOTPRINTS FOUND ON MOON
NASA won't be back any time soon, sadly
Jurassic squawk: Dinos were Earth's early FEATHERED friends
Boffins research: Ancient dinos may all have had 'potential' fluff
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.