mirror of https://github.com/mkerrisk/man-pages
drand48.3: Correct descriptions of ranges returned by these functions
See http://bugs.debian.org/803459 Reported-by: Vincent Lefevre <vincent@vinc17.net> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
61f6d1af1c
commit
b62ea03aa4
|
@ -81,22 +81,22 @@ The
|
|||
and
|
||||
.BR erand48 ()
|
||||
functions return nonnegative
|
||||
double-precision floating-point values uniformly distributed between
|
||||
[0.0, 1.0).
|
||||
double-precision floating-point values uniformly distributed over the interval
|
||||
[0.0,\ 1.0).
|
||||
.PP
|
||||
The
|
||||
.BR lrand48 ()
|
||||
and
|
||||
.BR nrand48 ()
|
||||
functions return nonnegative
|
||||
long integers uniformly distributed between 0 and 2^31.
|
||||
long integers uniformly distributed over the interval [0,\ 2^31).
|
||||
.PP
|
||||
The
|
||||
.BR mrand48 ()
|
||||
and
|
||||
.BR jrand48 ()
|
||||
functions return signed long
|
||||
integers uniformly distributed between \-2^31 and 2^31.
|
||||
integers uniformly distributed over the interval [\-2^31,\ 2^31).
|
||||
.PP
|
||||
The
|
||||
.BR srand48 (),
|
||||
|
|
Loading…
Reference in New Issue