AI & futurism

powered by

This article was published on June 9, 2022

Google sets new record for calculating pi — but what’s the point?

The Big G's flaunting 100 trillion digits


Google sets new record for calculating pi — but what’s the point?
Thomas Macaulay
Story by

Thomas Macaulay

Writer at Neural by TNW Writer at Neural by TNW

Developers have set a new record in the endless quest to accurately calculate pi.

A team led by Google Cloud’s Emma Haruka Iwao found 100 TRILLION digits of the mathematical constant — smashing the previous benchmark of 31.4 trillion.

Pi is the ratio of the circumference of a circle to its diameter
Pi is the ratio of a circle’s circumference to its diameter. Credit: Google

Brainiacs have sought to extend pi for millennia, but in recent years the digits have increased exponentially.

Greetings, humanoids

Subscribe to our newsletter now for a weekly recap of our favorite AI stories in your inbox.

Advances in computing are now causing records to regularly tumble.

A 2019 milestone that was also set by Iwao was surpassed within months. That landmark was then overturned the next year, before Iwao reclaimed her crown this March.

Computing advances have led to extra digits to be added exponentially.
Landmarks set in recent years have rarely lasted long. Credit: Google

Iwao’s team used the  y-cruncher program and Chudnovsky algorithm.

Their calculation ran for 157 days before finding the 100-trillionth decimal place — a 0.

They then verified the final numbers with the Bailey–Borwein–Plouffe formula.

In total, the process used a whopping 515 TB of storage and 82 PB of I/O.

The feat clearly required immense time and resources — which begs the question, what was the point?

Google developers have calculated Pi to a record 100 TRILLION digits
Calculating pi is compute-, storage-, and network-intensive. Credit: Google

Pi serves many practical purposes. The number is used in countless formulas for real-world applications, from building the Great Pyramid of Giza to operating Martian robots

“Knowing pi to some approximation is incredibly important because it appears everywhere, from the general relativity of Einstein to corrections in your GPS to all sorts of engineering problems involving electronics,” Jan de Gier, a professor of mathematics and statistics at the University of Melbourne, told the Guardian last year.

Yet these myriad uses rarely require approximating pi to 10 decimal places — let alone 100 trillion.

Even NASA needs no more than 15. The agency’s Jet Propulsion Laboratory said its highest accuracy calculation — which is used for interplanetary navigation — is 3.141592653589793.

In Google’s case, however, there is a less practical benefit: showing off the company’s tech — and using amenable hacks to promote it. (Hiya!)

Iwao admits as much.

As a developer advocate at Google Cloud, part of my job is to create demos and run experiments that show the cool things developers can do with our platform; one of those things, you guessed it, is using a program to calculate digits of pi.” she said.

The Big G has provided a long list of ways that Google Cloud features made the record possible, but I won’t mention them until I get a check in the post.

Google’s pi calculations also provide a chance to flaunt how fast its computers have become.

When the team broke the record in 2019, they needed 121 days to find 31.4 trillion digits. This time, they took 157 days to hit three times as many numbers.

As for Iwao’s personal benefits, the achievement means that she’s now realized her childhood dream twice — and she plans to keep on counting.

Get the Neural newsletter

Greetings Humanoids! Did you know we have a newsletter all about AI? You can subscribe to it right here.

Also tagged with