mathutils

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mathutils provides utilities supplementing the standard 'math' and 'math/rand' packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualFloat64 added in v2.0.1

func EqualFloat64(a, b float64) bool

func IsInteger

func IsInteger(value string) bool

func IsNatural

func IsNatural(value string) bool

func MaxInt added in v2.0.1

func MaxInt(a, b int) int

func MaxInt32

func MaxInt32(a, b int32) int32

func MaxInt64

func MaxInt64(a, b int64) int64

func MinInt added in v2.0.1

func MinInt(a, b int) int

func MinInt32

func MinInt32(a, b int32) int32

func MinInt64

func MinInt64(a, b int64) int64

func RandBackoff

func RandBackoff(initBackoff float64, maxBackoff float64, base float64, exp int) time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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