#3293: Implement shiftLInteger and shiftRInteger
-------------------------------+--------------------------------------------
  Reporter:  igloo             |          Owner:                  
      Type:  task              |         Status:  new             
  Priority:  normal            |      Milestone:  6.12.1          
 Component:  libraries/base    |        Version:  6.10.2          
  Severity:  normal            |       Keywords:                  
Difficulty:  Unknown           |       Testcase:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-------------------------------+--------------------------------------------
 Currently `shift` for `Integer` (in `Data.Bits`) is defined in terms of
 `(*)`, `div` and `^`.

 Instead, `integer-*` should export `shiftLInteger` and `shiftRInteger`,
 which can be more efficient.

 We should do this after the builtin-primop/FFI-imported-primop stuff is
 worked out, so that we can use a suitable GMP function for it.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3293>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to