[GHC] #7860: Add more bit fiddling functions to 'integer-gmp'
GHC
ghc-devs at haskell.org
Mon Oct 16 20:31:47 UTC 2017
#7860: Add more bit fiddling functions to 'integer-gmp'
-------------------------------------+-------------------------------------
Reporter: lebedev | Owner: hvr
Type: feature request | Status: new
Priority: normal | Milestone: 8.4.1
Component: Core Libraries | Version: 7.6.3
Resolution: | Keywords: integer-gmp
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #3489, #9835 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Herbert Valerio Riedel <hvr@…>):
In [changeset:"6cc232ae925bc6fc88229d96589a851068a9cace/ghc"
6cc232ae/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="6cc232ae925bc6fc88229d96589a851068a9cace"
Implement {set,clear,complement}BitBigNat primitives
This implements the missing `{set,clear,complement}BitBigNat` primitives
and hooks them up to `Natural`'s `Bits` instance.
This doesn't yet benefit `Integer`, as we still need "negative" `BigNat`
variants of those primitives.
Addresses #7860 (partly)
Reviewed By: bgamari
Differential Revision: https://phabricator.haskell.org/D3415
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7860#comment:21>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list