Y-cruncher
y-cruncher is a computer program used for the calculation of some mathematical constant with theoretical accuracy limited only by computing time and available storage space. It was originally developed to calculate the Euler-Mascheroni constant ; the y is derived from it in the name.
Since 2010, y-cruncher has been used for all record calculations of the number pi and other constants.
The software is downloadable from the website of the developers for Microsoft Windows and Linux. It does not have a graphical interface, but works on the command line. Calculation options are selected or entered via the text menu, the results are saved as a file.
Some popular uses of y-cruncher are running hardware benchmarks to measure performance of computer system. An example of such benchmark is . y-cruncher can also be used for stress-tests, as performed computations are sensitive to RAM errors and the program can automatically detect such errors.
Development
Alexander J. Yee started developing in high school a Java library for arbitrary-precision arithmetic called "BigNumber". With this he was able together with his roommate Raymond Chan on 8 December 2006 set the world record for the most number of calculated decimal places for the Euler-Mascheroni constant with 116 580 041 decimal places. In January 2009, they broke their own record and calculated 14 922 244 782 decimal places. At this point, the program was renamed to "y-cruncher" and ported to C and C++.In the aftermath, Shigeru Kondo with the help of y-cruncher calculated to 5 trillion digits on 2 August 2010.
Next year, Yee and Kondo calculated 10 trillion decimal places and broke the then-valid world record for decimal places of. After that, Yee decided to completely overhaul the program and rewrite it from scratch in version v0.6.1. This enabled determining with 12.1 trillion digits in just 94 days compared to 371 days that were spent for the previous record.
Properties
y-cruncher has the following characteristic properties:- Multithreading
- Vector instruction sets
- Swapping
- Using multiple hard drives
- Automatic detection and correction of smaller arithmetic errors
- Processor-specific optimization
Calculations
Since 2009, most of the world record-level calculations of mathematical constants have been performed with y-cruncher. The technical challenge does not lie in the calculation itself, but in providing an environment that enables a comparatively efficient execution.| Mathematical constant | Digits | Number of decimal places | Date | Carried out by |
| Pi | 3.14159... | 314 000 000 000 000 | 19 Nov 2025 | Storage Review |
| Square root of 2 | 1.41421... | 28 000 000 000 000 | 8 Jun 2025 | Teck Por Lim |
| Square root of 3 | 1.73205... | 4 000 000 000 000 | 23 May 2025 | DMAHJEFF |
| Square root of 5 | 2.23606... | 2 250 000 000 000 | 7 Oct 2021 | John Kominek |
| Square root of 7 | 2.64575... | 2 275 000 000 000 | 7 Oct 2021 | John Kominek |
| Square root of 11 | 3.31662... | 2 284 000 000 000 | 9 Oct 2021 | John Kominek |
| Golden ratio | 1.61803... | 20 000 000 000 000 | 27 Nov 2023 | Jordan Ranous |
| Euler's number | 2.71828... | 35 000 000 000 000 | 24 Dec 2023 | Jordan Ranous |
| Euler-Mascheroni constant | 0.57721... | 1 337 000 000 000 | 7 Sep 2023 | Andrew Sun |
| Apéry constant | 1.20205... | 2 020 569 031 595 | 22 Dec 2023 | Andrew Sun |
| Lemniscate constant | 2.62205... | 2 000 000 000 000 | 16 May 2025 | Lorenz Milla |
| Catalan's constant | 0.91596... | 1 200 000 000 100 | 9 Mar 2022 | Seungmin Kim |
| Natural logarithm of 2 | 0.69314... | 3 000 000 000 000 | 12 Feb 2024 | Jordan Ranous |
| Natural logarithm of 10 | 2.30258... | 2 000 000 000 100 | 6 Jun 2025 | Lorenz Milla |
| Gamma(1/3) | 2.67893... | 1 300 000 000 000 | 6 Aug 2025 | Mamdouh Barakat |
| Gamma(1/4) | 3.62560... | 1 200 000 000 000 | 13 Jun 2025 | Dmitriy Grigoryev |
| Gamma(1/5) | 4.59084... | 220 000 000 000 | 26 May 2025 | Dmitriy Grigoryev |
| Zeta(5) | 1.03692... | 506 000 000 000 | 17 Mar 2025 | Ben Hadad |
| Natural logarithm of 3 | 1.09861... | 600 000 000 000 | 14 Jun 2025 | Dmitriy Grigoryev |
| Natural logarithm of 5 | 1.60943... | 549 755 813 888 | 29 Jun 2020 | Marco Julian Hummel |
| Natural logarithm of 7 | 1.94591... | 549 755 813 888 | 12 Aug 2020 | Marco Julian Hummel |