You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
132 B

  1. // +build go1.9
  2. package bitset
  3. import "math/bits"
  4. func trailingZeroes64(v uint64) uint {
  5. return uint(bits.TrailingZeros64(v))
  6. }