Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-08 | py/mpz: Do Python style division/modulo within bignum divmod routine. | Damien George | |
This patch consolidates the Python logic for division/modulo to one place within the bignum code. | |||
2016-05-08 | py/mpz: Fix bug with overflowing C-shift in division routine. | Damien George | |
When DIG_SIZE=32, a uint32_t is used to store limbs, and no normalisation is needed because the MSB is already set, then there will be left and right shifts (in C) by 32 of a 32-bit variable, leading to undefined behaviour. This patch fixes this bug. | |||
2014-07-05 | tests: Rename test scripts, changing - to _ for consistency. | Damien George | |
From now on, all new tests must use underscore. Addresses issue #727. |