math

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(b int) int

Abs returns the absolute value of the passed-in integer

func Max

func Max(i, j int) int

Max returns the larger of the two integers passed in

func Min

func Min(i, j int) int

Min returns the smaller integer of the two integers passed in

func Pow

func Pow(i, j int) int

Pow returns the first integer to the power of the second integer

Types

This section is empty.

Jump to

Keyboard shortcuts

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