math

package
v0.0.0-...-af7b024 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Package math provides basic constants and mathematical functions that aren't provided by default.

Index

Constants

This section is empty.

Variables

View Source
var Max = MaxInt
View Source
var Min = MinInt

Functions

func MaxInt

func MaxInt(x, y int) int

Max returns the larger of x or y.

func MinInt

func MinInt(x, y int) int

Min returns the smaller of x or y.

Types

This section is empty.

Jump to

Keyboard shortcuts

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