ghc-lib-parser-9.8.5.20250214: The GHC API, decoupled from GHC versions
Copyright(c) Clark Gaebel 2012
(c) Johan Tibel 2012
LicenseBSD-style
Maintainerlibraries@haskell.org
Portabilityportable
Safe HaskellIgnore
LanguageHaskell2010

GHC.Utils.Containers.Internal.BitUtil

Description

 
Synopsis

Documentation

bitcount :: Int -> Word64 -> Int Source #

highestBitMask :: Word64 -> Word64 Source #

Return a word where only the highest bit is set.

shiftLL :: Word64 -> Int -> Word64 Source #

shiftRL :: Word64 -> Int -> Word64 Source #