Post Reply 
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Pi digits (again) - an unbounded spigot program - Thomas Klemm - 05-20-2024 08:55 AM



User(s) browsing this thread: 3 Guest(s)