pi_spigot


pi_spigot, a MATLAB code which prints out any number of decimal digits of pi.

Licensing:

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

Languages:

pi_spigot is available in a MATLAB version and a Python version.

Related Data and Programs:

e_spigot, a MATLAB code which produces any number of digits of the decimal expansion of e.

pi_spigot_test

Author:

Original Pascal program by Simeon Simeonov. Matlab version by John Burkardt

Reference:

Source Code:


Last revised on 20 March 2021.