pop9

package
v0.0.0-...-2f611ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnesCount15

func OnesCount15(x uint16) int

OnesCount15 returns the number of one bits ("population count") in x. x must be less than 0x8000 (32768), or otherwise the result is undefined.

func OnesCount15Unrolled

func OnesCount15Unrolled(x uint16) int

OnesCount15Unrolled returns the number of one bits ("population count") in x. x must be less than 0x8000 (32768), or otherwise the result is undefined.

func OnesCount16

func OnesCount16(x uint16) int

OnesCount16 returns the number of one bits ("population count") in x.

func OnesCount16Unrolled

func OnesCount16Unrolled(x uint16) int

OnesCount16Unrolled returns the number of one bits ("population count") in x.

func OnesCount8

func OnesCount8(x uint8) int

OnesCount8 returns the number of one bits ("population count") in x.

func OnesCount8Unrolled

func OnesCount8Unrolled(x uint8) int

OnesCount8Unrolled returns the number of one bits ("population count") in x.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL