constraints

package
v25.0.0-split-vector Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnyFloat

type AnyFloat interface {
	~float32 | ~float64
}

Float interface

type Float

type Float interface {
	float32 | float64
}

created for values of vfloat to support []float32 or []float64

type Integer

type Integer interface {
	Signed | Unsigned
}

Integer interface taken from https://pkg.go.dev/golang.org/x/exp/constraints. We copy it here since constraints package future is uncertain.

type Signed

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

Signed interface taken from https://pkg.go.dev/golang.org/x/exp/constraints. We copy it here since constraints package future is uncertain.

type Simple

type Simple interface {
	Integer | AnyFloat | ~bool | ~string
}

type Unsigned

type Unsigned interface {
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64
}

Unsigned interface taken from https://pkg.go.dev/golang.org/x/exp/constraints. We copy it here since constraints package future is uncertain.

Jump to

Keyboard shortcuts

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