summaryrefslogtreecommitdiff
path: root/libraries/integer-simple/GHC/Integer.hs
Commit message (Collapse)AuthorAgeFilesLines
* Remove integer-simpleSylvain Henry2020-06-171-44/+0
| | | | | | | | | | | | | integer-simple uses lists of words (`[Word]`) to represent big numbers instead of ByteArray#: * it is less efficient than the newer ghc-bignum native backend * it isn't compatible with the big number representation that is now shared by all the ghc-bignum backends (based on the one that was used only in integer-gmp before). As a consequence, we simply drop integer-simple
* Match `integer-simple`'s API with `integer-gmp`Alec Theriault2019-01-161-1/+2
| | | | | | | | In `integer-simple`: * Added an efficient `popCountInteger` and `bitInteger` * Added an efficient `gcdInteger` and `lcmInteger` * Made `testBitInteger` more efficient
* A bunch of typofixesGabor Greif2017-09-261-1/+1
|
* Comparison primops return Int# (Fixes #6135)Jan Stolarek2013-07-031-0/+2
| | | | | For a deatiled discussion of this changes please visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool
* fix typoGabor Greif2012-08-291-1/+1
|
* Define testBitInteger; part of #3489. Patch from pumpkingod@gmail.comIan Lynagh2012-08-051-1/+1
|
* track integer-gmp and add 'divInteger', 'modInteger'Gabor Greif2012-07-241-1/+2
|
* Define mkIntegerIan Lynagh2011-09-171-1/+1
| | | | Now used by GHC to generate Integer literals.
* Eliminate orphan instancesIan Lynagh2011-07-301-722/+1
|
* Rename toInt# -> integerToInt for consistencyIan Lynagh2011-07-231-3/+3
|
* Follow library changesIan Lynagh2011-07-221-0/+14
|
* Follow GHC.Bool/GHC.Types mergeIan Lynagh2010-10-231-1/+1
|
* () is now available, so use that instead of our ownIan Lynagh2009-07-221-30/+28
|
* Follow changes in GHC and the other librariesIan Lynagh2009-07-221-22/+46
|
* Fix conversions between Float/Double and simple-integerIan Lynagh2008-06-141-15/+34
|
* Sprinkle on some strictness annotationsIan Lynagh2008-06-021-52/+52
|
* Make the Integer type components strictIan Lynagh2008-06-021-2/+2
|
* Avoid the need for infinite Integers when doing bitwise operationsIan Lynagh2008-06-021-12/+22
|
* Initial commitIan Lynagh2008-04-251-0/+696