mwc

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: CC0-1.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float32 added in v0.0.5

func Float32() float32

func Float64 added in v0.0.5

func Float64() float64

func Intn added in v0.0.5

func Intn(n int) int

func Uint32 added in v0.0.5

func Uint32() uint32

func Uint32n added in v0.0.5

func Uint32n(n uint32) uint32

func Uint64 added in v0.0.5

func Uint64() uint64

func Uint64n added in v0.0.5

func Uint64n(n uint64) uint64

Types

type T

type T struct {
	// contains filtered or unexported fields
}

func New

func New(k1, k2 uint64) *T

func Rand

func Rand() *T

func (*T) Float32

func (r *T) Float32() (v float32)

func (*T) Float64

func (r *T) Float64() (v float64)

func (*T) Int63

func (r *T) Int63() int64

func (*T) Intn

func (r *T) Intn(n int) int

func (*T) Read

func (r *T) Read(p []byte) (n int, err error)

func (*T) Seed

func (r *T) Seed(seed int64)

func (*T) Uint32

func (r *T) Uint32() uint32

func (*T) Uint32n

func (r *T) Uint32n(n uint32) uint32

func (*T) Uint64

func (r *T) Uint64() uint64

func (*T) Uint64n

func (r *T) Uint64n(n uint64) uint64

Jump to

Keyboard shortcuts

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