Repository navigation
Expand file tree
/
Copy pathbitops.idx
More file actions
28 lines (28 loc) · 2.9 KB
/
Copy pathbitops.idx
File metadata and controls
28 lines (28 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
BitsRange bitops.html#BitsRange bitops: BitsRange
setMask bitops.html#setMask,T,T bitops: setMask[T: SomeInteger](v: var T; mask: T)
clearMask bitops.html#clearMask,T,T bitops: clearMask[T: SomeInteger](v: var T; mask: T)
flipMask bitops.html#flipMask,T,T bitops: flipMask[T: SomeInteger](v: var T; mask: T)
setBit bitops.html#setBit,T,BitsRange[T: SomeInteger] bitops: setBit[T: SomeInteger](v: var T; bit: BitsRange[T])
clearBit bitops.html#clearBit,T,BitsRange[T: SomeInteger] bitops: clearBit[T: SomeInteger](v: var T; bit: BitsRange[T])
flipBit bitops.html#flipBit,T,BitsRange[T: SomeInteger] bitops: flipBit[T: SomeInteger](v: var T; bit: BitsRange[T])
setBits bitops.html#setBits.m,typed,varargs[typed] bitops: setBits(v: typed; bits: varargs[typed]): untyped
clearBits bitops.html#clearBits.m,typed,varargs[typed] bitops: clearBits(v: typed; bits: varargs[typed]): untyped
flipBits bitops.html#flipBits.m,typed,varargs[typed] bitops: flipBits(v: typed; bits: varargs[typed]): untyped
testBit bitops.html#testBit,T,BitsRange[T: SomeInteger] bitops: testBit[T: SomeInteger](v: T; bit: BitsRange[T]): bool
Hamming weight bitops.html#hamming-weight_1 Module bitops
countSetBits bitops.html#countSetBits,SomeInteger bitops: countSetBits(x: SomeInteger): int
popcount bitops.html#popcount,SomeInteger bitops: popcount(x: SomeInteger): int
parityBits bitops.html#parityBits,SomeInteger bitops: parityBits(x: SomeInteger): int
firstSetBit bitops.html#firstSetBit,SomeInteger bitops: firstSetBit(x: SomeInteger): int
fastLog2 bitops.html#fastLog2,SomeInteger bitops: fastLog2(x: SomeInteger): int
countLeadingZeroBits bitops.html#countLeadingZeroBits,SomeInteger bitops: countLeadingZeroBits(x: SomeInteger): int
countTrailingZeroBits bitops.html#countTrailingZeroBits,SomeInteger bitops: countTrailingZeroBits(x: SomeInteger): int
rotateLeftBits bitops.html#rotateLeftBits,uint8,range[] bitops: rotateLeftBits(value: uint8; amount: range[0 .. 8]): uint8
rotateLeftBits bitops.html#rotateLeftBits,uint16,range[] bitops: rotateLeftBits(value: uint16; amount: range[0 .. 16]): uint16
rotateLeftBits bitops.html#rotateLeftBits,uint32,range[] bitops: rotateLeftBits(value: uint32; amount: range[0 .. 32]): uint32
rotateLeftBits bitops.html#rotateLeftBits,uint64,range[] bitops: rotateLeftBits(value: uint64; amount: range[0 .. 64]): uint64
rotateRightBits bitops.html#rotateRightBits,uint8,range[] bitops: rotateRightBits(value: uint8; amount: range[0 .. 8]): uint8
rotateRightBits bitops.html#rotateRightBits,uint16,range[] bitops: rotateRightBits(value: uint16; amount: range[0 .. 16]): uint16
rotateRightBits bitops.html#rotateRightBits,uint32,range[] bitops: rotateRightBits(value: uint32; amount: range[0 .. 32]): uint32
rotateRightBits bitops.html#rotateRightBits,uint64,range[] bitops: rotateRightBits(value: uint64; amount: range[0 .. 64]): uint64
reverseBits bitops.html#reverseBits,T bitops: reverseBits[T: SomeUnsignedInt](x: T): T