diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2020-02-01 20:33:23 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2020-02-01 20:33:23 +0000 |
commit | 672e12255da9b211d5318889ed9441ffc63c9f30 (patch) | |
tree | baaf585238a927f84b973088667642b1ce66e562 /lib/libc/stdlib/random.3 | |
parent | e656fa70dc685236bbb3a5136434e7011c84cb4f (diff) |
Notes
Diffstat (limited to 'lib/libc/stdlib/random.3')
-rw-r--r-- | lib/libc/stdlib/random.3 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index 82d21d1b048b..23b015383aea 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -28,7 +28,7 @@ .\" @(#)random.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd January 20, 2020 +.Dd February 1, 2020 .Dt RANDOM 3 .Os .Sh NAME @@ -74,8 +74,7 @@ The period of this random number generator is very large, approximately .Pp If initialized with less than 32 bytes of state, .Fn random -uses the same poor-quality Park-Miller LCG as -.Xr rand 3 . +uses the poor-quality 32-bit Park-Miller LCG. .Pp The .Fn random @@ -85,9 +84,6 @@ functions are analagous to .Xr rand 3 and .Xr srand 3 . -The difference is that -.Xr rand 3 -is a worse pseudo-random number generator. .Pp Like .Xr rand 3 , |