math

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[T constraints.Ordered](values ...T) T

Max returns the maximum of values.

func Min

func Min[T constraints.Ordered](values ...T) T

Min returns the minimum of values.

func RandBackoffSeconds

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

func RandString

func RandString(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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