math

package
v0.0.0-...-e9d204a Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x int) int

Abs returns the absolute value of an integer

func Max

func Max(a, b int) int

Max returns the maximum between 2 integers

func Min

func Min(a, b int) int

Min returns the minimum between 2 integers

func Mod

func Mod(a, b int) int

Mod returns the Euclidean division remainder between 2 integers

Types

This section is empty.

Jump to

Keyboard shortcuts

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