Thanks to visit codestin.com
Credit goes to pkg.go.dev

crand

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRand

type CRand struct {
	*rand.Rand
	// contains filtered or unexported fields
}

CRand A CRand is a source of random numbers and supports some concurrency function

func New

func New(src rand.Source) *CRand

New returns a new CRand that uses random values from src to generate other random values

func (*CRand) CFloat64

func (cr *CRand) CFloat64() float64

CFloat64 support concurrency for Float64 function

Jump to

Keyboard shortcuts

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