Fix typo in the comment

This commit is contained in:
Andrey A. Chernov 2007-12-11 20:39:32 +00:00
parent c8ffd860a5
commit 192b5193c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174541

View File

@ -60,7 +60,7 @@ do_rand(unsigned long *ctx)
#else /* !USE_WEAK_SEEDING */
/*
* Compute x = (7^5 * x) mod (2^31 - 1)
* wihout overflowing 31 bits:
* without overflowing 31 bits:
* (2^31 - 1) = 127773 * (7^5) + 2836
* From "Random number generators: good ones are hard to find",
* Park and Miller, Communications of the ACM, vol. 31, no. 10,