num

package
v0.0.0-...-a90befe Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaxInt

func MaxInt(first int, rest ...int) int

MaxInt is compares and returns the larger one.

func MinInt

func MinInt(first int, rest ...int) int

MinInt is compares and returns the lesser one.

func Sign

func Sign(num int) int

Sign of a integer 1 for positive 0 for zero -1 for negative

Types

This section is empty.

Jump to

Keyboard shortcuts

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