math

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsFloat

func AbsFloat[T constraints.Float](x T) T

func AbsInt

func AbsInt[T constraints.Integer](x T) T

func MaxFloat

func MaxFloat[T constraints.Float](x, y T) T

func MaxInt

func MaxInt[T constraints.Integer](x, y T) T

func MinFloat

func MinFloat[T constraints.Float](x, y T) T

func MinInt

func MinInt[T constraints.Integer](x, y T) T

func MinmaxFloat

func MinmaxFloat[T constraints.Float](x, y T) (min, max T)

func MinmaxInt

func MinmaxInt[T constraints.Integer](x, y T) (min, max T)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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