bitops: add 'hamming weight' to the doc index

This commit is contained in:
Araq
2017-12-03 15:20:50 +01:00
parent a0699870e3
commit 9820c2c456

View File

@@ -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: