Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 382 Bytes

File metadata and controls

10 lines (7 loc) · 382 Bytes

π

Calculates π value using Fabrice Bellard's formula.

Π value is computed with moderate speed. For example calculation 1'000'000 digits of π on NanoPi M3 takes about 5 min. The program was written mainly for testing system stability and as a benchmark. The program source code (written in C) has only ~250 lines.

All available CPU cores are used for calculations.