mcrandom

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MixStafford13

func MixStafford13(seed uint64) uint64

MixStafford13 implements the Stafford 13 mixing function, a bijective mixing function suitable for use in pseudorandom number generators.

Types

type Xoroshiro128PlusPlus

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

Xoroshiro128PlusPlus is a member of the Xor-Shift-Rotate family of generators. Memory footprint is 128 bits and the period is (2^128)-1.

func NewXoroshiro128PlusPlus

func NewXoroshiro128PlusPlus(seed0, seed1 uint64) *Xoroshiro128PlusPlus

NewXoroshiro128PlusPlus ...

func (*Xoroshiro128PlusPlus) Next

func (x *Xoroshiro128PlusPlus) Next() uint64

Next ...

Jump to

Keyboard shortcuts

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