xmath

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs added in v0.1.35

func Abs[T ~int | ~int8 | ~int16 | ~int32 | ~int64 |
	~float32 | ~float64](val T) T

func AbsInt

func AbsInt(a int64) int64

func Max

func Max[T cmp.Ordered](val ...T) T

func Min

func Min[T cmp.Ordered](val ...T) T

func Sum

func Sum[T ~int | ~int8 | ~int16 | ~int32 | ~int64 |
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |
	~float32 | ~float64](val ...T) T

Types

This section is empty.

Jump to

Keyboard shortcuts

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