LemonBoy a31b70c4b8 std: Add/Fix/Change parts of big.int
* Add an optimized squaring routine under the `sqr` name.
  Algorithms for squaring bigger numbers efficiently will come in a
  PR later.
* Fix a bug where a multiplication was done twice if the threshold for
  the use of Karatsuba algorithm was crossed. Add a test to make sure
  this won't happen again.
* Streamline `pow` method, take a `Const` parameter.
* Minor tweaks to `pow`, avoid bit-reversing the exponent.
2020-10-09 22:16:48 -04:00
..
2020-10-09 22:16:48 -04:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-20 16:07:04 -04:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00
2020-08-26 10:50:34 +02:00