[GHC] #5414: Add unsafeShift to Data.Bits
GHC
cvs-ghc at haskell.org
Wed Nov 9 00:38:34 CET 2011
#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 <johan.tibell at gmail.com>
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
More information about the Glasgow-haskell-bugs
mailing list