Random number generator (included): Difference between revisions

(→‎{{header|CMake}}: Add 10th CMake example.)
Line 179:
# Rand has general purpose random number support. The code attributes the algorithm to DP Mitchell and JA Reeds, and with what little I know, I would guess it's an GFSR. (It uses a large array commented "feeback register" and has variables named "tap" and "feed.")
# Crypto/rand says it "implements a cryptographically secure pseudorandom number generator." I think though it should say that it ''accesses'' a cryptographically secure pseudorandom number generator. It uses /dev/urandom on Linix and similar systems and the CryptGenRandom API on Windows.
 
=={{header|Groovy}}==
Same as Java.
 
=={{header|Haskell}}==
Anonymous user