A Google Cloud employee set a new record calculating the 100 trillionth digit of pi

A Google employee has given us greater insights into the mathematical mystery that is pi (also known to many of us as 3.14). Using the company’s cloud computing services, Google Cloud developer advocate Emma Haruka Iwao was able to calculate the first 100 trillion digits of the mathematical constant, making her the first person ever to know the 100 trillionth digit (it’s a zero). Google is now working with Guinness World Records to officially verify her accomplishment. It’s the second time Iwao has set such a milestone—she calculated 31.4 trillion digits in 2019, the record at the time—though she’s been interested in the number for much of her life. “Pi has been my personal passion since my childhood,” she says, recalling using a program called Super PI as a preteen to calculate roughly a million digits of the number.

Pi, which is the ratio of any circle’s circumference to its diameter, can’t be expressed precisely as a fraction or decimal, so it’s possible to calculate an arbitrary number of decimal digits of its representation. Calculating ever-longer sequences of pi has long been a challenge for amateur and professional mathematicians and computer scientists. Iwao says the dramatic leap forward since 2019 comes as a result of increased capabilities in Google’s Compute Engine service, including speedier processors, faster data storage, and increased network capabilities to sync the hardware doing the computation. “That kind of progress I hope makes people excited about Cloud and sort of encourages them to use Cloud for their own programs,” Iwao says. Google is also releasing a demo that anyone can use to calculate a smaller number of digits of pi on its cloud systems; the code used to do the computing is available on GitHub.

Google isn’t disclosing the cost of the computation, which took 157 days to run across 128 virtual processors using 864 gigabytes of memory. In total, the program crunched through 82,000 terabytes of data, which Google says is the same amount of storage as 2,598 years’ worth of HD movies. Iwao did the calculation using a freely available program called y-cruncher and worked with its creator, Alexander J. Yee, to verify that the result is correct. To ensure the number is, indeed, correct, Iwao also used an algorithm that makes it possible to generate specific digits of pi without knowing all the previous ones, letting her verify that some of the final digits are correct, which implies the previous ones almost certainly are. She also compared the initial digits to those found by others’ previous calculations. The exact digits Iwao computed will also be available—on the cloud, naturally—so that anyone can download all 100 trillion digits or use an application programming interface to access specific digits. While scientists and engineers don’t typically need 100 trillion digits of pi for precise calculations, Iwao says people are interested in the distribution of different digits in the number. Iwao hopes that the project will also make people aware of cloud computing’s power for scientific computation in general. And she imagines that as the technology continues to improve, it won’t be the last time she pushes pi computation forward—perhaps by a significant amount. “Technically, even if you can add one digit, it’s a new world record,” Iwao says. “I think this is more [interesting] when we can show significant progress.”

https://www.fastcompany.com/90758850/a-google-cloud-employee-set-a-new-record-calculating-the-100-trillionth-digit-of-pi?partner=rss&utm_source=rss&utm_medium=feed&utm_campaign=rss+fastcompany&utm_content=rss

Létrehozva 3y | 2022. jún. 8. 15:22:32


Jelentkezéshez jelentkezzen be

EGYÉB POSTS Ebben a csoportban

Apple’s next CEO: A new look at Tim Cook’s potential successors after latest exec shakeup

Yesterday, Apple unexpectedly announced the most radical shakeup to its C-suite in years. The company revealed that Jeff Williams, its current chief operating officer (COO), will be departing the

2025. júl. 9. 16:40:09 | Fast company - tech
PBS chief Paula Kerger warns public broadcasting could collapse in small communities if Congress strips federal funding

As Congress moves to make massive cuts to public broadcasting this week, Paula Kerger, president and CEO of the Public Broadcasting Service (PBS), gives an unflinching look at the organization’s f

2025. júl. 9. 14:30:04 | Fast company - tech
These personality types are most likely to cheat using AI

As recent graduates proudly showcase their use of ChatGPT for final projects, some may wonder: What kind of person turns to

2025. júl. 9. 14:30:04 | Fast company - tech
Samsung fixed everything you hated about foldable phones—except the price

Just over a month ago, Samsung did something strange to start hyping up its next foldable phone announcements.

Those phones, which Samsung revealed today, are officially called the Samsu

2025. júl. 9. 14:30:04 | Fast company - tech
Tesla stock is tanking. Could shareholders fire Elon Musk?

It’s not a great time to be a Tesla shareholder. While the stock was up 2.5% in midday trading on Tuesday, July 8, it remains down for the month and has

2025. júl. 9. 12:10:05 | Fast company - tech