types

package
v0.0.0-...-02e3eee Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: GPL-3.0, LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const IntSize = strconv.IntSize

IntSize is the bit-size of the data-type for the targeted platform.

View Source
const MaxInt int = math.MaxInt

MaxInt is the maximum int value for the targeted platform. Other constants for data-types can be found in package `math` package.

View Source
const MaxUint uint = math.MaxUint

MaxUint is the maximum uint value for the targeted platform. Other constants for data-types can be found in package `math` package.

View Source
const MinInt int = math.MinInt

MinInt is the minimum int value for the targeted platform. Other constants for data-types can be found in package `math` package.

View Source
const UintSize = bits.UintSize

UintSize is the bit-size of the data-type for the targeted platform.

Variables

This section is empty.

Functions

This section is empty.

Types

type Float

type Float interface {
	~float32 | ~float64
}

type Integer

type Integer interface {
	UnsignedInteger | SignedInteger
}

type Number

type Number interface {
	Integer | Float
}

type Ordered

type Ordered interface {
	Number | ~string
}

type SignedInteger

type SignedInteger interface {
	~int8 | ~int16 | ~int32 | ~int64 | ~int
}

type UnsignedInteger

type UnsignedInteger interface {
	~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uint | ~uintptr
}

Jump to

Keyboard shortcuts

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