Skip to content

nashidau/Random-Number-Gods

Repository files navigation

Random Number Gods

The Random Number Gods provides various random numbers to worthy supplicants. The pantheon of the Random Number Gods is strong, and flexible, and readily accepts new deities into its ranks.

The most revered and ancient books of the rngods is known as 'RNGOD 0.6.1'.

Build Status

Using the Random Number Gods

Known Gods

The LCG

The LCG is a simple god, great for supplicants after speed who do not mind certain simplicities. In ages past the LCG was known as Linear congruential generator, but most just know him by his shorter name in modern times.

The true name of the LCG is best written as:

x = seed * A + C

It is said the true names for the A and C, are 1664525 & 1013904223, deriving from the ancient scriptures Numerical Receipes in C.

The Dethread Deity

The scriptures are clear, in that many of the other the Random Number Gods do handle the cries of a thousand supplicants all crying out at once. Unfortunately many of the believers require their deities to answer calls from different parts of the great tapestry of life (sometimes called threads in other scriptures).

The dethread deity however can handle all, and will take care to deliver the messages to and from another deity safely. With the dethread deity relaying your prayers, you can be safe in the knowledge that the message will get there and back safely. Never a Miscommunication.

The Constant God

There are those who wish to trial their deity, and demand that those they (supposedly) venerate are unwavering in their gifts. Those that do will find the Constant god a great benefit.

The constant god can be created in either a true (7) form, or alternatively created in the version of your choice.

The God of Sequences

An unusual deity, best know for his love of sequences. Once a prayer has been sent to the god of sequences, he will send it back to the supplicant. In some cases, he will continue to repeat the sequence once the scriptures are complete, in other cases, he is know to repeat the last item.

XorShift

A true random number diety, the XOR Shift comes from the gospels of George Marsaglia. A diety who gives fast access to its prayers. The scriptures presnted here use a 128 bits with a complete period.

Versions of the Scriptures

  • 0.1: Genesis; the coming of the LCG.
  • 0.2: The Weaver: the coming of the dethread deity.
  • 0.3: Law and Order: The coming of the static good
  • 0.4: The True Names: The RNGods, not the rng.
  • 0.5: The Repeated Scriptures: The god of sequences arrives
  • 0.6: The Passage of XOR: Xorshift storms into the pantheon
  • 0.6.1: A dark god joins: RANDU tempts the weak of will, and poor of knowledge.

The Great Beyond

There are more things in the heavens then spoken of in this text. In time we hope to discover them.

  • The shared gods. Also known as the great '.so'.
  • The mersenne twister. A great diety of vast power
  • ISAAC
  • Lagged Fibonacci generator
  • The Book of Travels. Detailing how the wisdom of the Random Number Gods can be used in your life.
  • The Trials of the Random Number Gods. The tests the RNGods must traverse.
  • Calling Down the Moon. The followers of the Moon, (Lua as the portugese say) also would like to contact the Random Number Gods.

About

A random number library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages