maths

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 0 Imported by: 11

Documentation

Index

Constants

View Source
const MaxIntValue = int(^uint(0) >> 1)

MaxIntValue is the max value for type int. https://groups.google.com/forum/#!msg/golang-nuts/a9PitPAHSSU/ziQw1-QHw3EJ

Variables

This section is empty.

Functions

func MaxInt

func MaxInt(x, y int) int

MaxInt returns the bigger value of the two input ints.

func MinInt

func MinInt(x, y int) int

MinInt returns the smaller value of the two input ints.

Types

This section is empty.

Jump to

Keyboard shortcuts

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