Utils.Containers.Internal.BitUtil
Copyright | (c) Clark Gaebel 2012 (c) Johan Tibel 2012 |
---|---|
License | BSD-style |
Maintainer | [email protected] |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Description
bitcount :: Int -> Word -> Int Source
highestBitMask :: Word -> Word Source
Return a word where only the highest bit is set.
shiftLL :: Word -> Int -> Word Source
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.10.2/docs/html/libraries/containers-0.6.2.1/Utils-Containers-Internal-BitUtil.html