A C++ implementation of the spigot algorithm for generating digits of pi.
Go to file
A.M. Rowsell 218d5b7da8
Squashed bug causing incorrect digits. Now fully working
I totally brainfarted and put this->preDigits.size() in the for
loop comparison clause, which gets re-evaluated every loop.
So it was leaving digits on the stack that should have been
printed, causing errors both immediately and down the line.
2023-06-09 12:15:53 -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
Makefile Squashed bug causing incorrect digits. Now fully working 2023-06-09 12:15:53 -04:00
Spigot.cpp Squashed bug causing incorrect digits. Now fully working 2023-06-09 12:15:53 -04:00
Spigot.hpp Squashed bug causing incorrect digits. Now fully working 2023-06-09 12:15:53 -04:00
main.cpp Squashed bug causing incorrect digits. Now fully working 2023-06-09 12:15:53 -04:00