Random number generator (included): Difference between revisions

mNo edit summary
Line 465:
=={{header|Perl 6}}==
The implementation underlying the <tt>rand</tt> function is platform and VM dependent. The JVM backend uses that platform's SecureRandom class.
 
=={{header|Phix}}==
The rand(n) routine returns an integer in the range 1 to n, and rnd() returns a floating point number between 0.0 and 1.0. <br>
In both cases the underlying algorithm is just about as trivial as it can be, certainly not suitable for serious cryptographic work.<br>
There are at least a couple of Mersenne twister components in the archive.
 
=={{header|PHP}}==
7,820

edits