Implement {set,clear,complement}BitBigNat primitives wip/T7860
authorHerbert Valerio Riedel <hvr@gnu.org>
Tue, 21 Jun 2016 21:49:32 +0000 (23:49 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Tue, 21 Jun 2016 21:49:32 +0000 (23:49 +0200)
commit81d889729c34dbf37c60290116f2f00af1dacd55
tree03a605735e8e4a62b25666e6cec094d749527817
parente170d19702504dd80c2d19f63322c6a219d65f8d
Implement {set,clear,complement}BitBigNat primitives

and hook up to `Natural`'s `Bits` instance

This doesn't yet benefit `Integer`, as we still need "negative" `BigNat`
variants for that.
libraries/base/GHC/Natural.hs
libraries/integer-gmp/src/GHC/Integer/GMP/Internals.hs
libraries/integer-gmp/src/GHC/Integer/Type.hs