diff options
author | 2019-12-20 19:16:40 +0000 | |
---|---|---|
committer | 2019-12-20 19:16:40 +0000 | |
commit | 4e9ef723ab3e05ee10764981ea85b0d9ced09614 (patch) | |
tree | 849b8cc8d6505c9c9215217dcf1910e377b7d4e7 /lib/libc | |
parent | The mcount.po target is special cased here since mcount.c should not be (diff) | |
download | wireguard-openbsd-4e9ef723ab3e05ee10764981ea85b0d9ced09614.tar.xz wireguard-openbsd-4e9ef723ab3e05ee10764981ea85b0d9ced09614.zip |
drand48(3) returns values in [0.0, 1.0).
From j@bitminer.ca with input from Andras Farkas, deraadt, joerg@netbsd
"fix however you feel best!" jmc
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/rand48.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/rand48.3 b/lib/libc/stdlib/rand48.3 index cc54d9174c7..fa7a7179bc9 100644 --- a/lib/libc/stdlib/rand48.3 +++ b/lib/libc/stdlib/rand48.3 @@ -9,9 +9,9 @@ .\" of any kind. I shall in no event be liable for anything that happens .\" to anyone/anything when using this software. .\" -.\" $OpenBSD: rand48.3,v 1.20 2015/11/10 23:48:18 jmc Exp $ +.\" $OpenBSD: rand48.3,v 1.21 2019/12/20 19:16:40 tb Exp $ .\" -.Dd $Mdocdate: November 10 2015 $ +.Dd $Mdocdate: December 20 2019 $ .Dt DRAND48 3 .Os .Sh NAME @@ -101,7 +101,7 @@ and return values of type double. The full 48 bits of r(n+1) are loaded into the mantissa of the returned value, with the exponent set -such that the values produced lie in the interval [0.0, 1.0]. +such that the values produced lie in the interval [0.0, 1.0). .Pp .Fn lrand48 and |