common

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int32Ceil added in v0.5.1

func Int32Ceil(v float64) int32

Int32Ceil return the int32 ceil of a float64

func Int64Ceil added in v0.5.1

func Int64Ceil(v float64) int64

Int64Ceil return the int64 ceil of a float64

func MaxInt added in v0.22.5

func MaxInt(a, b int) int

MaxInt returns the greater one of two given integers

func MaxInt64 added in v0.22.5

func MaxInt64(a, b int64) int64

MaxInt64 returns the greater of two given int64

func MinInt added in v0.22.5

func MinInt(a, b int) int

MinInt returns the smaller of two given integers

func MinInt32 added in v0.22.5

func MinInt32(a, b int32) int32

MinInt32 return smaller one of two inputs int32

func MinInt64 added in v0.22.5

func MinInt64(a, b int64) int64

MinInt64 returns the smaller of two given int64

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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