Random number generator (included): Difference between revisions
Content added Content deleted
m (→{{header|Ada}}: 2012) |
Childishbeat (talk | contribs) m (→{{header|Wee Basic}}: Wee Basic example added.) |
||
Line 861: | 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 |
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. |
[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}}== |
=={{header|XPL0}}== |