bitops: add 'hamming weight' to the doc index
This commit is contained in:
parent
a0699870e3
commit
9820c2c456
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ elif useICC_builtins:
|
|||
|
||||
|
||||
proc countSetBits*(x: SomeInteger): int {.inline, nosideeffect.} =
|
||||
## Counts the set bits in integer. (also called Hamming weight.)
|
||||
## Counts the set bits in integer. (also called `Hamming weight`:idx:.)
|
||||
# TODO: figure out if ICC support _popcnt32/_popcnt64 on platform without POPCNT.
|
||||
# like GCC and MSVC
|
||||
when nimvm:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue