Random number generator (included): Difference between revisions

added Julia example
m (→‎{{header|REXX}}: spelling)
(added Julia example)
Line 297:
=={{header|JavaScript}}==
The only built-in random number generation facility is <code>Math.random()</code>, which returns a floating-point number greater than or equal to 0 and less than 1, with approximately uniform distribution. The standard (ECMA-262) does not specify what algorithm is to be used.
 
=={{header|Julia}}==
Julia's [http://docs.julialang.org/en/latest/stdlib/base/#random-numbers built-in random-number generation functions], <code>rand()</code> etcetera, use the Mersenne Twister algorithm.
 
=={{header|Lua}}==
Anonymous user