01-09-03 13.43, skrev Michael G Schwern på [EMAIL PROTECTED] följande: > I've split off the srand() tests into their own test file and added in > some more. > > I've discovered a bug/undocumented feature. srand() appears to take > integers, at least on Linux. Perl silently truncates them. It > appears that's because ANSI C's srand takes an unsigned integer. > I've added docs to perlfunc that reflect this.
It truncates integers to ? integers? Maybe we should add a warning :) "Just because you use a decimal, your srand won't be more random!" -- Arthur