Loading...
--- Libc/Libc-763.12/gen/rand48.3
+++ Libc/Libc-583/gen/rand48.3
@@ -10,7 +10,7 @@
.\" to anyone/anything when using this software.
.\"
.\" @(#)rand48.3 V1.0 MB 8 Oct 1993
-.\" $FreeBSD: src/lib/libc/gen/rand48.3,v 1.17 2005/01/20 09:17:02 ru Exp $
+.\" $FreeBSD: src/lib/libc/gen/rand48.3,v 1.16 2004/07/02 23:52:10 ru Exp $
.\"
.Dd October 8, 1993
.Dt RAND48 3
@@ -74,7 +74,7 @@
The
particular formula employed is
r(n+1) = (a * r(n) + c) mod m.
-The default value for the multiplicand `a' is 0x5deece66d (25214903917).
+The default value for the multiplicand `a' is 0xfdeece66d (25214903917).
The default value for the the addend `c' is 0xb (11).
The modulo is always fixed at m = 2 ** 48.
r(n) is called the seed of the random number generator.
@@ -194,8 +194,8 @@
.Pp
For a more powerful random number generator, see
.Xr random 3 .
+.Sh AUTHORS
+.An Martin Birgmeier
.Sh SEE ALSO
.Xr rand 3 ,
.Xr random 3
-.Sh AUTHORS
-.An Martin Birgmeier