might be a bug in the DMD FrontEnd

Don Clugston dac at nospam.com.au
Mon Apr 2 00:08:18 PDT 2007


Dan wrote:
>> int getRandomNumber()
>> {
>>     return 4; // chosen by fair dice roll.
>>               // guaranteed to be random.
>> }
> 
> ^^^ Priceless.  : D

The original IBM random number generator was a bit like that. When a bug 
report was made, the response was:
"We guarantee that each number is random individually, but we don't 
guarantee that more than one of them is random."
- Numerical Recipes, chapter 7.



More information about the Digitalmars-d mailing list