summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Int.hs
Commit message (Expand)AuthorAgeFilesLines
* Revert "Use fix-sized bit-fiddling primops for fixed size boxed types"wip/revert-bit-twiddles-masterBen Gamari2023-02-031-56/+35
* Fix a few Note inconsistenciesBen Gamari2022-02-011-12/+13
* Make most shifts branchlessSylvain Henry2022-01-281-48/+50
* Fix Int64/Word64's Enum instance fusionSylvain Henry2021-11-061-0/+9
* Make Word64 use Word64# on every architectureSylvain Henry2021-11-061-180/+15
* Remove target dependent CPP for Word64/Int64 (#11470)Sylvain Henry2021-11-061-3/+7
* Add more INLINABLE and INLINE pragmas to `Enum Int*` instancesSebastian Graf2021-10-291-0/+24
* Make Int64#/Word64# unconditionally availableJohn Ericson2021-08-191-1/+3
* Remove ad-hoc fromIntegral rulesSylvain Henry2021-08-091-69/+0
* Use fix-sized equality primops for fixed size boxed typesJohn Ericson2021-07-211-6/+6
* Add Word64#/Int64# primopsSylvain Henry2021-07-151-10/+4
* Use fix-sized order primops for fixed size boxed typesJohn Ericson2021-05-131-12/+12
* Use fix-sized arithmetic primops for fixed size boxed typesJohn Ericson2021-05-061-48/+36
* Move shift ops out of GHC.BaseSylvain Henry2021-05-031-0/+47
* Use fix-sized bit-fiddling primops for fixed size boxed typesJohn Ericson2021-05-031-35/+35
* Add more boundary checks for `rem` and `mod`John Ericson2021-03-201-18/+44
* Fix array and cleanup conversion primops (#19026)Sylvain Henry2021-03-031-130/+130
* Bignum: add Natural constant folding rules (#15821)Sylvain Henry2021-01-231-8/+8
* [Sized Cmm] properly retain sizes.Moritz Angermann2020-11-261-133/+133
* Remove all the unnecessary LANGUAGE pragmasHécate2020-08-051-2/+7
* Update `base` packageSylvain Henry2020-06-171-14/+14
* Use Int# primops in `Bits Int{8,16,32,64}` instancesSylvain Henry2019-12-031-16/+16
* Update Trac ticket URLs to point to GitLabRyan Scott2019-03-151-1/+1
* Compile count{Leading,Trailing}Zeros to corresponding x86_64 instructions und...Dmitry Ivanov2019-01-301-0/+13
* Revert "Batch merge"Ben Gamari2019-01-301-13/+0
* Batch mergeBen Gamari2019-01-301-0/+13
* Error out of invalid Int/Word bit shiftsAlec Theriault2019-01-231-10/+30
* Remove OPTIONS_HADDOCK hide in favour for not-homeAdam Sandberg Eriksson2019-01-061-1/+1
* Built-in Natural literals in CoreSylvain Henry2018-06-151-0/+30
* Add @since annotations to base instancesSeraphime Kirkovski2016-06-061-0/+56
* Defer inlining of Ord methodsBen Gamari2016-03-301-13/+87
* base: Fix GHC.Word and GHC.Int on 32-bit platformsBen Gamari2016-03-251-2/+2
* Defer inlining of Eq for primitive typesBen Gamari2016-03-241-8/+66
* base: drop redundant Typeable derivingsHerbert Valerio Riedel2015-03-071-8/+6
* Comments onlySimon Peyton Jones2014-12-081-4/+3
* Refactor module imports in baseHerbert Valerio Riedel2014-10-191-1/+0
* `M-x delete-trailing-whitespace` & `M-x untabify`...Herbert Valerio Riedel2014-08-311-4/+4
* Add `FiniteBits(count{Leading,Trailing}Zeros)`Herbert Valerio Riedel2014-08-311-0/+13
* Replace DeriveDataTypeable by AutoDeriveTypeableHerbert Valerio Riedel2014-05-271-1/+1
* Use not# rather than (`xor#` (-1)) for complementSimon Peyton Jones2014-03-131-3/+3
* Remove obsolete pre-Haddock-2 `#hide` pragmasHerbert Valerio Riedel2013-09-231-1/+0
* Follow changes in comparison primops (see #6135)Jan Stolarek2013-09-181-34/+34
* We need NegativeLiterals for GHC.Int or we get warningsIan Lynagh2013-07-311-1/+1
* Re-jig SOURCE importsSimon Peyton Jones2013-06-061-7/+7
* Change rules for RealFrac methods to pointfree, so that they can also fire in...Daniel Fischer2013-02-131-48/+48
* Fix #7233: avoid overflow in divInt64#Simon Marlow2012-10-251-8/+16
* Add bitSizeMaybe to Bits, and add FiniteBits classIan Lynagh2012-09-231-5/+23
* Use Word literals directly, rather than converting Int literalsIan Lynagh2012-05-211-5/+5
* Add CTYPE pragmas for GHC typesIan Lynagh2012-02-161-5/+5
* Define a divModInt function that only does 1 divisionIan Lynagh2012-02-141-7/+15