summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp/GHC/Integer
Commit message (Expand)AuthorAgeFilesLines
* Fix GMP v4 compatibility.Austin Seipp2014-02-261-0/+10
* Fix negation of `divMod`/`quotRem` results (fixes #8726)Herbert Valerio Riedel2014-02-021-7/+7
* Improve documentation of `integer-gmp`Herbert Valerio Riedel2014-01-312-20/+74
* Dont use big/small-int primops on IL32P64 (i.e. Win/x86_64) for nowHerbert Valerio Riedel2014-01-171-9/+78
* Wrap `gmpz_fdiv_{q,r,qr}_ui` to optimize `div`/`mod`Herbert Valerio Riedel2014-01-132-10/+33
* Allocate initial 1-limb mpz_t on the Stack and introduce MPZ# typeHerbert Valerio Riedel2014-01-132-119/+150
* Drop redundant formal parameter from TAKE1_UL1_RET2Herbert Valerio Riedel2014-01-111-9/+1
* Follow-up to a3878d17Herbert Valerio Riedel2014-01-101-1/+4
* Temporary disable `mpz_gmpz_tdiv_qr_ui` to workaround #8661Herbert Valerio Riedel2014-01-101-1/+6
* Manually float out `int2Integer# INT_MINBOUND`Herbert Valerio Riedel2014-01-081-9/+13
* Wrap `gmpz_tdiv_{q,r,qr}_ui` to optimize `quot`/`rem`Herbert Valerio Riedel2014-01-082-7/+38
* Add new `mpz_{sub,add}_ui`-based primop (re #8647)Herbert Valerio Riedel2014-01-042-10/+32
* Add new `mpz_mul_si`-based primop (re #8647)Herbert Valerio Riedel2014-01-042-4/+13
* Make use of `quotRemInt#` primop in `quotRemInteger`Herbert Valerio Riedel2014-01-031-10/+7
* Refactor and comment the smartJ# changes (re Trac #8638)Simon Peyton Jones2014-01-031-9/+41
* Try harder to demote results from `J#` to `S#` (re #8638)Herbert Valerio Riedel2014-01-021-33/+59
* Improve Haddock documentationHerbert Valerio Riedel2013-11-082-47/+95
* Optimize order of pattern matches for export operationsHerbert Valerio Riedel2013-11-071-2/+2
* Add `Addr#` based `{import,export}Integer` variantsHerbert Valerio Riedel2013-11-073-6/+37
* Rename `{import,export}Integer`Herbert Valerio Riedel2013-11-073-19/+19
* Add primitives to write/read Integers to/from bytearraysHerbert Valerio Riedel2013-11-053-2/+92
* Expose two GMP primality operationsHerbert Valerio Riedel2013-10-283-2/+46
* Add side-channel attack resilient `powModSecInteger`Herbert Valerio Riedel2013-10-273-2/+22
* Refactor & modernize `.cabal` to `cabal-version>=1.10`Herbert Valerio Riedel2013-10-242-4/+3
* Expose GMP's `mpz_gcdext()` as internal primitiveHerbert Valerio Riedel2013-09-293-2/+19
* Expose new internal exponentiation primitivesHerbert Valerio Riedel2013-09-293-1/+59
* Follow changes in comparison primops (see #6135)Jan Stolarek2013-09-163-96/+91
* Comments onlyJan Stolarek2013-08-191-0/+6
* Comparison primops return Int# (Fixes #6135)Jan Stolarek2013-07-193-44/+68
* Define testBitInteger; part of #3489Ian Lynagh2012-08-052-1/+12
* Simplify how gcd @ Int is implementedIan Lynagh2012-07-182-11/+2
* Move some rules into PrelRulesIan Lynagh2012-07-181-10/+0
* Add another gcdInteger ruleIan Lynagh2012-07-131-3/+8
* Tweak RULEs; fixes #7041Ian Lynagh2012-07-131-6/+3
* Add divInteger and modInteger functionsIan Lynagh2012-06-192-1/+31
* Use divInt#/modInt# from ghc-primIan Lynagh2012-06-191-16/+1
* Add some rules; fixes #5767Ian Lynagh2012-01-261-0/+10
* Define mkIntegerIan Lynagh2011-09-171-0/+10
* Export GMP-only functions from the Internals moduleIan Lynagh2011-09-131-1/+1
* NOINLINE a couple more functionsIan Lynagh2011-09-131-2/+2
* Follow ghc-prim changesIan Lynagh2011-08-261-1/+0
* Export Integer(..) from GHC.Integer.GMP.Internals again; fixes #5419Ian Lynagh2011-08-253-194/+200
* Eliminate orphan instancesIan Lynagh2011-07-302-14/+564
* No need to export Integer from GHC.Integer.GMP.InternalsIan Lynagh2011-07-301-3/+0
* Part of #5122 "Faster conversion between Rational and Double/Float" fixIan Lynagh2011-04-222-0/+302
* Add extensions to LANGUAGE pragmasIan Lynagh2011-01-111-1/+1
* Add LANGUAGE BangPatterns to modules that use bang patternssimonpj@microsoft.com2010-11-121-1/+1
* Fix compile warning on 32bit machineDavid Terei2010-08-171-4/+0
* implement integer2Int# and integer2Word# in Haskell, not foreign primSimon Marlow2010-08-131-11/+13
* Add primops for shiftingIan Lynagh2009-07-221-0/+13