Ishaan Bhardwaj
77f24f5ee5
Human readable bigint output changes
2021-02-10 12:45:55 -05:00
Ishaan Bhardwaj
32c2274bef
Optimized bigint exponentiation (again)
2021-02-10 11:38:10 -05:00
Ishaan Bhardwaj
4920e5de1c
Added another type check to the bigint
2021-02-10 11:15:56 -05:00
Ishaan Bhardwaj
3ac39acd7a
Removed bigint comparison metamethods (read below)
...
Use bigint.compare from now on
2021-02-09 12:27:57 -05:00
Ishaan Bhardwaj
bb0fe2ac20
BigInt now has a digits method (read comments)
...
Kind of unnecessary but included for completeness
2021-02-08 16:56:06 -05:00
Ishaan Bhardwaj
986ebac47f
BigInt division fixed
2021-02-08 16:07:48 -05:00
Ishaan Bhardwaj
9799147f96
Revert "BigInt fixes and optimization (read comments)"
...
Apparently division *still* isn't being handled correctly.
This reverts commit 1dda12e4be
.
2021-02-08 14:53:19 -05:00
Ishaan Bhardwaj
1dda12e4be
BigInt fixes and optimization (read comments)
...
Fixed a nasty division bug where intermediate operations could result in negative zero. Optimized exponentiation to use exponentiation by squaring.
2021-02-08 14:10:34 -05:00
Ishaan Bhardwaj
38947e00c0
Added a tostring function for bigints
2021-02-08 10:34:47 -05:00
Ishaan Bhardwaj
035f6dd7b4
Fixed big division when (big1 < big2)
2021-02-08 10:23:10 -05:00
Ishaan Bhardwaj
086f327371
Large commit, read below
...
DAS Cut Delay added and configurable (like ARR and DAS)
BigInt lib added
IRS / IHS do not take effect when ARE = 0
Game now saves highscore correctly on game over
2021-01-24 14:55:35 -05:00