-
- optimize
bit_division
: instead of shifting the remainder by oneBASE_BITS
per loop iteration, I think a much faster performance can be achieved by getting the padding needed by theremainder
so that it will be equal or near equal to theop
divisor right away. -
- optimize
bit_division
: implement the special case when the divisorop
is just one limb. -
- optimize
integer operator/=
: I think it's possible that the quotient can be directly written to thelimbs
of the dividend, removing the need for another allocation of temporary quotient. -
- add lcd, gcd, finding prime functions, and more math functions.
-
- add CMake support for the static library.
-
- improve naming conventions being used.
-
- organize the code structure.