summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a703ba0..5f6811d 100644
--- a/lib/libc/gen/rand48.3
+++ b/lib/libc/gen/rand48.3
@@ -57,7 +57,7 @@ The
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
+for the multiplicand a = 0x5deece66d = 25214903917 and
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.
OpenPOWER on IntegriCloud