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
Pi is the ratio of the circumference of a circle to its diameter

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

Greetings humanoids

Subscribe now for a weekly recap of our favorite AI stories

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.
The  set in recent years have rarely lasted long. Credit: Google
Computing advances have led to extra digits to be added exponentially.

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

Their calculation ran fo 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
Google developers have calculated Pi to a record 100 TRILLION digits

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 calculations — which is used for interplanetary navigation — is 3.141592653589793.

“Why do we calculate pi? Because it’s a way to tell how fast computers have become.”

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

Services advent solutions. Overseas domestic helper insurance scheme, hk$710 for 1 year policy period, hk$1,280 for 2 year policy period.