Random number generator (included): Difference between revisions

Content added Content deleted
imported>Myrmidon
m (Add Chapel)
Line 189:
std::cout << "Mersenne twister (hardware seeded): " << dist(mt) << std::endl;
}</syntaxhighlight>
 
=={{header|Chapel}}==
When using the [https://chapel-lang.org/docs/modules/standard/Random.html <code>Random</code> module], Chapel defaults to a [http://www.pcg-random.org/ Permuted Linear Congruential Random Number Generator].
 
=={{header|Clojure}}==