Restore function powModSecInteger
The function existed in integer-gmp-0.5.1.0 but was removed as part of integer-gmp2 rewrite in #9281. This is to bring it back. Test Plan: Case integerGmpInternals, with GMP 4.3.2 and GMP 6.1.2 Reviewers: austin, hvr, goldfire, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3947
Showing
- libraries/integer-gmp/cbits/wrappers.c 60 additions, 1 deletionlibraries/integer-gmp/cbits/wrappers.c
- libraries/integer-gmp/include/HsIntegerGmp.h.in 3 additions, 0 deletionslibraries/integer-gmp/include/HsIntegerGmp.h.in
- libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs 1 addition, 0 deletionslibraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs
- libraries/integer-gmp/src/GHC/Integer/Type.hs 48 additions, 0 deletionslibraries/integer-gmp/src/GHC/Integer/Type.hs
- testsuite/tests/lib/integer/integerGmpInternals.hs 1 addition, 3 deletionstestsuite/tests/lib/integer/integerGmpInternals.hs
Loading
Please register or sign in to comment