Commit graph

6 commits

Author SHA1 Message Date
7b3fc5cdf8
Added a newline at the end of output 2023-06-26 00:22:24 -04:00
aac6d97593
Added a readme, finally 2023-06-25 08:40:49 -04:00
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
97018305fd
Few small changes, added Windows makefile, LICENSE
Code is licensed under the MPLv2. Changed the makefile to, by
default, optimize to level 3. make debug will remove optimization
and add gdb debugging symbols, which slows output down quite
a bit. Removed an assertion leftover from bug squashing.
2023-06-09 20:21:32 -04:00
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
aac5409a72 first commit of version ported line by line from python
Not working correctly yet, errors when handling
certain predigits
2023-06-07 02:08:12 -04:00