rand

package
v0.26.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64

func Float64() float64

func InitRandomSeed

func InitRandomSeed()

func Initialized

func Initialized() bool

func Int63

func Int63() int64

func Int63n

func Int63n(n int64) int64

func Intn

func Intn(n int) int

func New

func New(data []byte) *rand.Rand

New returns a new RPNG instance properly seeded

func NormFloat64

func NormFloat64() float64

func Seed

func Seed(rng *rand.Rand, data []byte)

Seed re-seeds an existing RPNG instance

func SetSpecificSeed

func SetSpecificSeed(seed int64)

func Uint32

func Uint32() uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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