This is cool, someone should port this to bash, which also only supports integers.
Then I can use it as a benchmark for https://www.oilshell.org :)
Also bash can do the multicore part very easily with processes, like cmake.
Then I can use it as a benchmark for https://www.oilshell.org :)
Also bash can do the multicore part very easily with processes, like cmake.
https://github.com/nrdvana/CmdlineGL/blob/master/share/lib-b...
With a little bitfield support (you could always call out to dc but you can do boolean arithmetic directly in bash) you can simply implement IEEE 754 in bash.
echo $(( 2**63 | 1 ))
-9223372036854775807