integer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package integer provides utilities for working with integer data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignedMax

func SignedMax(width int) int64

SignedMax returns the maximum value that a signed integer of the specified width can represent.

func SignedMin

func SignedMin(width int) int64

SignedMin returns the minimum value that a signed integer of the specified width can represent.

func UnsignedMax

func UnsignedMax(width int) uint64

UnsignedMax returns the maximum value that an unsigned integer of the specified width can represent.

func UnsignedMin

func UnsignedMin(width int) uint64

UnsignedMin returns the minimum value that an unsigned integer of the specified width can represent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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