im

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 0 Imported by: 3

Documentation

Overview

Package im - int math simple operations lake max min etc for int

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max(a, b int) int

Max - maximum of 2 elements

func MaxS

func MaxS(s ...int) int

MaxS - maximum of Slice elements; if slice is empty then 0

func Min

func Min(a, b int) int

Min - minimum of 2 elements

func MinS

func MinS(s ...int) int

MinS - minimum of Slice elements; if slice is empty then 0

Types

This section is empty.

Jump to

Keyboard shortcuts

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