num

package module
v0.0.0-...-bd3b666 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2016 License: MIT Imports: 0 Imported by: 1

README

num

GoDoc

Package num provides some useful algorithms for working with numbers, math, etc.

Documentation

Overview

Package num provides some useful algorithms for working with numbers, math, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt

func AbsInt(v int) int

AbsInt Returns the absolute value of `v`.

func MaxInt

func MaxInt(a, b int) int

MaxInt Returns the integer with the highest value.

func MaxInt64

func MaxInt64(a, b int64) int64

MaxInt64 Returns the integer with the highest value.

func MinInt

func MinInt(a, b int) int

MinInt Returns the integer with the lowest value.

func MinInt64

func MinInt64(a, b int64) int64

MinInt64 Returns the integer with the lowest value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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