checked

package module
v0.0.0-...-22affc7 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: MPL-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add[T Integer](a, b T) (T, bool)

func Cast

func Cast[Y, X Integer](x X) (y Y, ok bool)

func Div

func Div[T Integer](a, b T) (T, bool)

func DivMod

func DivMod[T Integer](a, b T) (T, T, bool)

func Max

func Max[T Integer]() T

func Min

func Min[T Integer]() T

func Mul

func Mul[T Integer](a, b T) (T, bool)

func Sub

func Sub[T Integer](a, b T) (T, bool)

Types

type Integer

type Integer interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
}

Jump to

Keyboard shortcuts

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