package
Version:
v0.0.0-...-3948e75
Opens a new window with list of versions in this module.
Published: Dec 15, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ints provides simple integer utilities.
Max returns the maximum of x and y.
Min returns the minimum of x and y.
func MinMax(x, y int) (min, max int)
MinMax returns the min and max of x and y.
func NextMultiple(a, n int) int
NextMultiple returns the next multiple of n greater than or equal to a.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.