pop8

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 OnesCount7

func OnesCount7(x uint8) int

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

func OnesCount7Unrolled

func OnesCount7Unrolled(x uint8) int

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

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