Jump to content

Random number generator (included): Difference between revisions

m
→‎{{header|Wee Basic}}: Wee Basic example added.
m (→‎{{header|Wee Basic}}: Wee Basic example added.)
Line 861:
Ursala uses the [[wp:Mersenne twister|Mersenne twister]] algorithm as implemented by the [http://www.basis.uklinux.net/avram Avram] run time system for most purposes, except for arbitrary precision floating point random numbers, which are generated by the <code>urandomb</code> function from the
[http://www.mpfr.org mpfr] library.
 
=={{header|Wee Basic}}==
Wee Basic does not any built-in algorithms for random number generation. However, as can be seen in [[Random number generator (device)#Wee Basic]], pseudo-random number generation can be accomplished by using a loop that quickly increases the number from 1 to 10 until any key is pressed.
 
=={{header|XPL0}}==
441

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.