summaryrefslogtreecommitdiff
path: root/lib/libc/gen/rand48.3
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-01-30 16:34:52 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-01-30 16:34:52 +0000
commita5ed710ccd3bc63d9258bd8aef8acbdaa6e978cf (patch)
tree8aeda37daf69a55f7b237234fddb55ae594d2322 /lib/libc/gen/rand48.3
parent62bdf2b7c6dd3823fa1949663f065e808d777f2d (diff)
Notes
Diffstat (limited to 'lib/libc/gen/rand48.3')
-rw-r--r--lib/libc/gen/rand48.32
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/rand48.3 b/lib/libc/gen/rand48.3
index 9fadeb29926b..356f2f30262f 100644
--- a/lib/libc/gen/rand48.3
+++ b/lib/libc/gen/rand48.3
@@ -54,7 +54,7 @@ particular formula employed is
r(n+1) = (a * r(n) + c) mod m
where the default values are
for the multiplicand a = 0xfdeece66d = 25214903917 and
-the addend c = 0xb = 11. The modul is always fixed at m = 2 ** 48.
+the addend c = 0xb = 11. The modulo is always fixed at m = 2 ** 48.
r(n) is called the seed of the random number generator.
.Pp
For all the six generator routines described next, the first