#5414: Add unsafeShift to Data.Bits
------------------------------+---------------------------------------------
Reporter: tibbe | Owner: simonmar
Type: feature request | Status: closed
Priority: normal | Milestone: 7.6.1
Component: libraries/base | Version: 7.2.1
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
------------------------------+---------------------------------------------
Changes (by tibbe):
* status: patch => closed
* resolution: => fixed
Comment:
commit de91de0fec8e5a5adda7e3005ad567821059e047
{{{
Author: Johan Tibell <[email protected]>
Date: Sun Aug 14 11:45:27 2011 +0100
Add unsafeShift to Data.Bits
This allows shifting by a non-statically known amount without
introducing a branch (to check for "overflow").
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5414#comment:4>
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