ache 2008-08-08 01:02:30 UTC
FreeBSD src repository
Modified files:
games/random random.c
Log:
SVN rev 181409 on 2008-08-08 01:02:30Z by ache
1) Replace hardcoded RANDOM_MAX macro with wrong (1 less than must be)
value with ((double)RAND_MAX + 1)
2) For exit code increase valid denominator upper range from 255 to 256
since returned value is [0 .. denom - 1]
Revision Changes Path
1.21 +5 -11 src/games/random/random.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"