pi_spigot


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

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

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

Related Data and Programs:

pi_spigot_test

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

Author:

Original Pascal version by Simeon Simeonov. This version by John Burkardt

Reference:

Source Code:


Last revised on 20 March 2021.