Documentation
¶
Overview ¶
Package jsf32 provides the 32-bit version of Bob Jenkins' public-domain small noncryptographic PRNG
The original C implementation can be found here: https://burtleburtle.net/bob/rand/smallprng.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSF32 ¶
type JSF32 struct {
// contains filtered or unexported fields
}
JSF32 implements the math/rand.Source64 interface
Callers must seed a generator through New() or Seed() before generating any numbers. An unseeded JSF32 (the zero value) will always produce a 0
Click to show internal directories.
Click to hide internal directories.