Procs
func clearBit[T: SomeInt128](x: var T; bit: range[0 .. 127]) {.inline.}
- Source Edit
func countLeadingZeroBits(x: SomeInt128): int {.inline.}
- Source Edit
func countSetBits(x: SomeInt128): int {.inline.}
- Source Edit
func countTrailingZeroBits(x: SomeInt128): int {.inline.}
- Source Edit
func fastLog2(x: SomeInt128): int {.inline.}
- Source Edit
func flipBit[T: SomeInt128](x: var T; bit: range[0 .. 127]) {.inline.}
- Source Edit
func setBit[T: SomeInt128](x: var T; bit: range[0 .. 127]) {.inline.}
- Source Edit
func testBit[T: SomeInt128](x: var T; bit: range[0 .. 127]): bool {.inline.}
- Source Edit