Mail Archives: djgpp/1997/11/11/20:47:35
If rand() is ANSI but GCC's algorithm for rand() sucks, while its
algorithm for random() is great, why not just use the better algorithm for
both rand() and random(), while making sure the rand() arguments and
return values have the same ranges and semantics as ANSI requires?
What exactly is the difference between the functions except the names?
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -