Commit Graph

4 Commits

Author SHA1 Message Date
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
A.M. Rowsell
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
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
A.M. Rowsell
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