5 May
2012
5 May
'12
5:04 p.m.
Dear Boost Users While testing my RNG I noticed that the use of seed value 0 yields the same results as using a seed value of 1. It seems that this is the specified behaviour for rand() in the C runtime library: http://stackoverflow.com/questions/8049556/whats-the-difference-between-sran... I could find no reference to this in my (oldish) draft C++0x spec. Also no mention in the boost random doc page. I tried to unravel the random include files, but got lost. Is this behaviour required by the specification or just following tradition? More important, is this behaviour guaranteed in all libraries? thanks! nelis