minmax

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package minmax contains several type-specific min and max functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaxInt

func MaxInt(a, b int) int

MaxInt returns the largest of a and b

func MaxInt64

func MaxInt64(a, b int64) int64

MaxInt64 returns the largest of a and b

func MaxUint

func MaxUint(a, b uint) uint

MaxUint returns the largest of a and b

func MinInt

func MinInt(a, b int) int

MinInt returns the smallest of a and b

func MinInt64

func MinInt64(a, b int64) int64

MinInt64 returns the smallest of a and b

func MinUint

func MinUint(a, b uint) uint

MinUint returns the smallest of a and b

Types

This section is empty.

Jump to

Keyboard shortcuts

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