Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 806 Bytes

todo.md

File metadata and controls

22 lines (15 loc) · 806 Bytes

To-do

  • - optimize bit_division : instead of shifting the remainder by one BASE_BITS per loop iteration, I think a much faster performance can be achieved by getting the padding needed by the remainder so that it will be equal or near equal to the op divisor right away.

  • - optimize bit_division : implement the special case when the divisor op is just one limb.

  • - optimize integer operator/= : I think it's possible that the quotient can be directly written to the limbs 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.