bits

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LeadingZeros32

func LeadingZeros32(x uint32) uint64

LeadingZeros32 returns the number of leading zero bits in x; the result is 32 for x == 0.

func LeadingZeros64

func LeadingZeros64(x uint64) uint64

LeadingZeros64 returns the number of leading zero bits in x; the result is 64 for x == 0.

func TrailingZeros64

func TrailingZeros64(x uint64) uint64

TrailingZeros64 returns the number of trailing zero bits in x; the result is 64 for x == 0.

Types

This section is empty.

Jump to

Keyboard shortcuts

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