A C++ implementation of the spigot algorithm for generating digits of pi.
Find a file
A.M. Rowsell bc12d981d0
Link Windows exe statically, change location of std::flush
The Windows exe has to be linked statically, because Windows
is stupid and doesn't have dynamic libraries like the stdc++ lib
available. Maybe it's in some .dll somewhere, but I can't be
bothered. Linux is just better.

The change to the location of flush will make the output look
more "spigot"-like, ie with large numbers of digits generated,
the digits will be output in small groups instead of a nice
smooth digit at a time. For some reason this is how most
spigot algorithms do it, and so to me it "looks" correct. It
doesn't actually change anything whatsoever other than when
the standard output actually gets printed to console.
2023-06-20 17:55:09 -04:00
.depend first commit of version ported line by line from python 2023-06-07 02:08:12 -04:00
.gitignore Squashed bug causing incorrect digits. Now fully working 2023-06-09 12:15:53 -04:00
LICENSE Few small changes, added Windows makefile, LICENSE 2023-06-09 20:21:32 -04:00
main.cpp Squashed bug causing incorrect digits. Now fully working 2023-06-09 12:15:53 -04:00
Makefile Few small changes, added Windows makefile, LICENSE 2023-06-09 20:21:32 -04:00
Makefile.win Link Windows exe statically, change location of std::flush 2023-06-20 17:55:09 -04:00
Spigot.cpp Link Windows exe statically, change location of std::flush 2023-06-20 17:55:09 -04:00
Spigot.hpp Squashed bug causing incorrect digits. Now fully working 2023-06-09 12:15:53 -04:00