e_spigot
e_spigot,
a MATLAB code which
can print out any number of decimal digits of e.
Licensing:
The computer code and data files made available on this
web page are distributed under
the MIT license
Languages:
e_spigot is available in
a MATLAB version and
a Python version.
Related Data and Programs:
e_spigot_test
pi_spigot,
a MATLAB code
which produces any number of digits of the decimal expansion of pi.
Reference:
-
Stanley Rabinowitz, Stan Wagon,
A spigot algorithm for the digits of pi,
American Mathematical Monthly,
Volume 102, Number 3, pages 195-203, March 1995.
Source Code:
-
e_101.m,
prints the first 101 decimal digits of e.
-
e_spigot.m,
computes and prints any number of decimal digits of e.
Last revised on 20 March 2021.