#7860: Add more bit fiddling functions to 'integer-gmp'
-----------------------------+----------------------------------------------
Reporter:  lebedev           |          Owner:                  
    Type:  feature request   |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.6.3             |       Keywords:  gmp             
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:  3489            
-----------------------------+----------------------------------------------
 Current implementation of 'integer-gmp' uses only a subset of "bit
 fiddling" features, [http://gmplib.org/manual/Integer-Logic-and-Bit-
 Fiddling.html provided] by the GMP library. The ones missing are:

 {{{
 * mpz_popcount
 * mpz_setbit
 * mpz_clrbit
 }}}

 I think it would be nice to add these functions in addition to
 'testBitInteger'. Would you accept a patch?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7860>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to