Journal article
An Unbounded Spigot Algorithm for the Digits of Pi
- Abstract:
- Rabinowitz and Wagon (American Mathematical Monthly 102(3):195–203, 1995) present a spigot algorithm for computing the digits of π. A spigot algorithm yields its outputs incrementally, and does not reuse them after producing them. Their algorithm is inherently bounded; it requires a commitment in advance to the number of digits to be computed, and in fact might still produce an incorrect last few digits. We propose two streaming algorithms based on the same characterization of π, with the same incremental characteristics but without requiring the prior bound.
Actions
Access Document
- Files:
-
-
(Preview, pdf, 67.0KB, Terms of use)
-
Authors
- Journal:
- American Mathematical Monthly More from this journal
- Volume:
- 113
- Issue:
- 4
- Pages:
- 318-328
- UUID:
-
uuid:30023054-4642-47d7-a138-f9ad4fff9add
- Local pid:
-
cs:1674
- Deposit date:
-
2015-03-12
- ARK identifier:
If you are the owner of this record, you can report an update to it here: Report update to this record