Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + func AlignDown(length int, align uint) int + func AlignUp(length int, align uint) int + func ForEachSetBit64(x uint64, f func(i int)) + func IsAnyOn(mask, bits T) bool + func IsOn(mask, bits T) bool + func IsPowerOfTwo(v T) bool + func MostSignificantOne64(x uint64) int + func TrailingZeros64(x uint64) int + type T uint64 + func Mask(is ...int) T + func MaskOf(i int) T