Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bignum: implement integerPowMod (#18427) | Sylvain Henry | 2020-10-02 | 1 | -11/+25 |
| | | | | | | | Incidentally fix powModInteger which was crashing in integer-gmp for negative exponents when the modular multiplicative inverse for the base didn't exist. Now we compute it explicitly with integerRecipMod so that every backend returns the same result without crashing. | ||||
* | Bignum: fix powMod for gmp backend (#18515) | Sylvain Henry | 2020-07-30 | 1 | -10/+3 |
| | | | | | Also reenable integerPowMod test which had never been reenabled by mistake. | ||||
* | Split integerGmpInternals test in several parts | Sylvain Henry | 2020-01-04 | 1 | -0/+35 |
This is to prepare for ghc-bignum which implements some but not all of gmp functions. |