Pi digits (again) - an unbounded spigot program
|
05-20-2024, 08:55 AM
Post: #22
|
|||
|
|||
RE: Pi digits (again) - an unbounded spigot program
(05-19-2024 12:34 PM)Guenter Schink Wrote: I must admit that I didn't think about any optimization. If speed were our primary concern, we should probably use a different algorithm: Quote:Like Rabinowitz and Wagon’s algorithm, our proposals are not competitive with state-of-the-art arithmetic-geometric mean algorithms for computing \(\pi\). What I like about the spigot algorithm is that one digit after the other appears instead of showing the entire result at the end. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)