Feeds

Boffin calculates pi to 2.7 trillion digits

On a humble desktop PC

  • alert
  • submit to reddit

Providing a secure and efficient Helpdesk

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

Internet Security Threat Report 2014

More from The Register

next story
MARS NEEDS WOMEN, claims NASA pseudo 'naut: They eat less
'Some might find this idea offensive' boffin admits
LOHAN crash lands on CNN
Overflies Die Welt en route to lively US news vid
Experts brand LOHAN's squeaky-clean box
Phytosanitary treatment renders Vulture 2 crate fit for export
No sail: NASA spikes Sunjammer
'Solar sail' demonstrator project binned
America's super-secret X-37B plane returns to Earth after nearly TWO YEARS aloft
674 days in space for US Air Force's mystery orbital vehicle
Carry On Cosmonaut: Willful Child is a poor taste Star Trek parody
Cringeworthy, crude and crass jokes abound in Steven Erikson’s sci-fi debut
Origins of SEXUAL INTERCOURSE fished out of SCOTTISH LAKE
Fossil find proves it first happened 385 million years ago
Human spacecraft dodge COMET CHUNKS pelting off Mars
Odyssey orbiter yet to report, though - comet's trailing trash poses new threat
You can crunch it all you like, but the answer is NOT always in the data
Hear that, 'data journalists'? Our analytics prof holds forth
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.