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 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 a computer system. An example of such benchmark is HWBOT. 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 to 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 (see SIMD) Swapping Using multiple hard drives (in RAID) 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 (any longer) lie in the calculation itself, but in providing an environment that enables a comparatively efficient execution. +Current world records set with y-cruncherMathematical constantDigitsNumber ofdecimal placesDateCarried out by3.14159... 19 Nov 2025Storage Review1.41421... 8 Jun 2025Teck Por Lim1.73205... 23 May 2025DMAHJEFF2.23606... 7 Oct 2021John Kominek2.64575... 7 Oct 2021John Kominek3.31662... 9 Oct 2021John KominekGolden ratio1.61803... 27 Nov 2023Jordan RanousEuler's number2.71828... 24 Dec 2023Jordan RanousEuler-Mascheroni constant0.57721... 7 Sep 2023Andrew SunApéry constant1.20205... 22 Dec 2023Andrew SunLemniscate constant2.62205... 16 May 2025Lorenz MillaCatalan's constant0.91596... 9 Mar 2022Seungmin Kim 0.69314... 12 Feb 2024Jordan Ranous 2.30258... 6 Jun 2025Lorenz MillaGamma(1/3)2.67893... 6 Aug 2025Mamdouh BarakatGamma(1/4)3.62560... 13 Jun 2025Dmitriy GrigoryevGamma(1/5)4.59084... 26 May 2025Dmitriy GrigoryevZeta(5)1.03692... 17 Mar 2025Ben Hadad1.09861... 14 Jun 2025Dmitriy Grigoryev1.60943... 29 Jun 2020Marco Julian Hummel1.94591... 12 Aug 2020Marco Julian Hummel

Purpose

The tool can serve several purposes. On the one hand, it allows the capabilities of CPUs and RAM to be determined and compared with other models. On the other hand, these hardware components can also be tested for stability and error susceptibility through stress testing. An alternative program for this would be Prime95. The advantage of the program lies in the fact that (partial) calculations can be carried out on an old Pentium PC, an up-to-date workstation, and theoretically even supercomputers, without measured performance falling off a measurement scale (or complex benchmarks becoming incompatible due to new hardware and interfaces). Setting new computing records also represents a contemporary feasibility study and can serve as an indicator of computer performance improvement over time when regularly performed and with similar parameters.

See also Super PI – a program that is designed solely to computation of digits of Prime95 – a program for searching of prime numbers

References

External links