mention RANDOM_MAX
This commit is contained in:
parent
c75e135b85
commit
908cf676a4
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: random.3,v 1.18 2003/08/07 16:43:43 agc Exp $
|
||||
.\" $NetBSD: random.3,v 1.19 2008/02/28 16:16:35 christos Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -29,7 +29,7 @@
|
|||
.\"
|
||||
.\" from: @(#)random.3 8.1 (Berkeley) 6/4/93
|
||||
.\"
|
||||
.Dd June 4, 1993
|
||||
.Dd February 28, 2008
|
||||
.Dt RANDOM 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -62,6 +62,10 @@ numbers in the range from 0 to
|
|||
The period of this random number generator is very large, approximately
|
||||
.if t 16\(mu(2\u\s731\s10\d\(mi1).
|
||||
.if n 16*((2**31)\(mi1).
|
||||
The maximum value
|
||||
.Dv RANDOM_MAX
|
||||
is defined in
|
||||
.In stdlib.h .
|
||||
.Pp
|
||||
The
|
||||
.Fn random
|
||||
|
|
Loading…
Reference in New Issue