ints

package
v0.0.0-...-0b3308b Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: MPL-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x int) int

Abs returns |x|, the absolute value of x.

func Max

func Max(x int, y ...int) int

Max returns the maximum of its arguments.

func Min

func Min(x int, y ...int) int

Min returns the minimum of its arguments.

func Sign

func Sign(x int) int

Sign returns:

-1 if x <  0
 0 if x == 0
+1 if x >  0

Types

This section is empty.

Jump to

Keyboard shortcuts

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