mathz

package
v15.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationWithPositiveJitter

func DurationWithPositiveJitter(d time.Duration, jitterPercent int64) time.Duration

DurationWithPositiveJitter returns d with an added jitter in the range [0,jitterPercent% of the value) i.e. it's additive.

func Int63

func Int63() int64

func Int63n

func Int63n(n int64) int64

func Shuffle

func Shuffle(n int, swap func(i, j int))

Types

This section is empty.

Jump to

Keyboard shortcuts

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