u64

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: Apache-2.0 Imports: 0 Imported by: 49

Documentation

Overview

Package u64 is a basic math library for uint64.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlignUp

func AlignUp(value, alignment uint64) uint64

AlignUp returns the result of aligning up the given value to the given alignment.

func Byte

func Byte(i uint64) byte

func Expand4to8

func Expand4to8(v uint64) uint64

func Expand5to8

func Expand5to8(v uint64) uint64

func Expand6to8

func Expand6to8(v uint64) uint64

func Expand7to8

func Expand7to8(v uint64) uint64

func Max

func Max(a, b uint64) uint64

Max returns the maximum value of a and b.

func Min

func Min(a, b uint64) uint64

Min returns the minimum value of a and b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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