mathx

package
v1.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecreaseWithMin

func DecreaseWithMin(in, min int) int

DecreaseWithMin decreases in by 1 but only to min value.

func IncreaseWithMax

func IncreaseWithMax(in, max int) int

IncreaseWithMax increase in by 1 but only up to max value.

func Max

func Max(a, b int) int

Max returns the largest of a or b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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