-
Herbert Valerio Riedel authored
This exposes the newly added CLZ/CTZ primops from e0c1767d (re #9340) via two new methods `countLeadingZeros` and `countTrailingZeros` in the `Data.Bits.FiniteBits` class. The original proposal can be found at http://www.haskell.org/pipermail/libraries/2014-August/023567.html Test Plan: successful validate Reviewers: ekmett, tibbe GHC Trac Issues: #9532 Differential Revision: https://phabricator.haskell.org/D158
a8a969ae
To find the state of this project's repository at the time of any of these versions, check out the tags.