diff options
| author | Gavin Atkinson <gavin@FreeBSD.org> | 2010-02-23 19:37:00 +0000 |
|---|---|---|
| committer | Gavin Atkinson <gavin@FreeBSD.org> | 2010-02-23 19:37:00 +0000 |
| commit | 821d69ea13378d9f38afb5156f2aae70389c6954 (patch) | |
| tree | 0e0916cd0f56c4c2703b7154bdbe1dea771d05b7 /lib/libc | |
| parent | f67dce937da8b8d4005df00e3d08b41d1a62dbbe (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/rand48.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/rand48.3 b/lib/libc/gen/rand48.3 index a703ba08813f..8d325a1bff1a 100644 --- a/lib/libc/gen/rand48.3 +++ b/lib/libc/gen/rand48.3 @@ -12,7 +12,7 @@ .\" @(#)rand48.3 V1.0 MB 8 Oct 1993 .\" $FreeBSD$ .\" -.Dd October 8, 1993 +.Dd February 2, 2010 .Dt RAND48 3 .Os .Sh NAME @@ -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. |
