| parrotcode: random library | |
| Contents | Language Implementations | Lua |

lib/random.pir - random library

See original on http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lrandom/
This implementation is based on the Mersenne Twisted random generator, see runtime/parrot/library/Math/Random/mt19937ar.pir.

random.clone (c)random.new ([seed])random.seed (c, [seed])random.tostring (c)random.value (c)random.valuei (c, a, [b])random.valuex (c)
Francois Perrad
|
|
|