pi_spigot


pi_spigot, an Octave code which prints any number of decimal digits of pi.

Licensing:

The computer code and data files made available on this web page are 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, an Octave code which produces any number of digits of the decimal expansion of e.

Author:

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

Reference:

Source Code:


Last revised on 26 September 2022.