Documentation ¶
Overview ¶
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop1) Source: java.lang.Integer#bitCount Source: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/lang/Integer.java#Integer.bitCount%28int%29 Source: java.lang.Long#bitCount Source: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/lang/Long.java#Long.bitCount%28long%29
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnesCount16 ¶
OnesCount16 returns the number of one bits ("population count") in x.
func OnesCount32 ¶
OnesCount32 returns the number of one bits ("population count") in x.
func OnesCount64 ¶
OnesCount64 returns the number of one bits ("population count") in x.
func OnesCount8 ¶
OnesCount8 returns the number of one bits ("population count") in x.
Types ¶
This section is empty.