pi_spigot, a MATLAB code which prints any number of decimal digits of pi.
The information on this web page is distributed under the MIT license.
pi_spigot is available in a MATLAB version and an Octave version and a Python version.
e_spigot, a MATLAB code which produces any number of digits of the decimal expansion of e.
Original Pascal version by Simeon Simeonov. This version by John Burkardt