On 15 avr, 10:57, Ian Collins <ian-n...@hotmail.comwrote:
ciccio wrote:
Maybe slightly off topic here, but what algorithm is used for the
implementation of rand() in <cstdlib?
See section 7.20.2.2 of the standard for a portable implementation.
That's the C standard, of course. And it's known to be a very
poor generator.
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34