maths

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 1 Imported by: 0

README

maths

Generic arithmetic operations.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[X constraints.Ordered](a, b X) X

Max returns the greatest value.

func MaxOf

func MaxOf[X constraints.Ordered](a X, bb ...X) X

MaxOf returns the greatest value.

func Min

func Min[X constraints.Ordered](a, b X) X

Min returns the least value.

func MinOf

func MinOf[X constraints.Ordered](a X, bb ...X) X

MinOf returns the least value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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