diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-12-11 20:39:32 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-12-11 20:39:32 +0000 |
commit | 192b5193c7928e24998429e56df4e5064f35bbfa (patch) | |
tree | 4594b4ea204c571bc7c95979c200900cad2719bd /lib/libc/stdlib | |
parent | c8ffd860a52850bb244e806757486c0fe064efd4 (diff) |
Notes
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/rand.c b/lib/libc/stdlib/rand.c index d651a7002caf..077c1ba4ad19 100644 --- a/lib/libc/stdlib/rand.c +++ b/lib/libc/stdlib/rand.c @@ -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, |