mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Fix typo in the comment
This commit is contained in:
parent
c8ffd860a5
commit
192b5193c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174541
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user