Subject: lib/2338: incomplete random() man page
To: None <gnats-bugs@NetBSD.ORG>
From: John M Vinopal <banshee@gabriella.resort.com>
List: netbsd-bugs
Date: 04/17/1996 17:28:21
>Number:         2338
>Category:       lib
>Synopsis:       incomplete random() man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 17 20:50:02 1996
>Last-Modified:
>Originator:     John M Vinopal
>Organization:
The Wailer at the Gates of Dawn            /   banshee@resort.com          |
Just who ARE you calling a FROOFROO Head? /                                |
DoD#0667  "Just a friend of the beast."  | http://www.resort.com/~banshee/ |
2,3,5,7,13,17,19,31,61,89,107,127,521,607....\      Port and Absinthe      |
>Release:        Early April.
>Environment:
System: NetBSD gabriella.resort.com 1.1B NetBSD 1.1B (GABRIELLA-NCR2) #0: Mon Apr 1 04:19:44 PST 1996 banshee@gabriella.resort.com:/usr/local/NetBSD/src/sys/arch/i386/compile/GABRIELLA-NCR2 i386


>Description:
	random() man page doesn't list helpful constants!
>How-To-Repeat:
>Fix:
*** random.3    Wed Apr 17 16:53:42 1996
--- random.3.1  Wed Apr 17 17:01:09 1996
***************
*** 61,66 ****
--- 61,72 ----
  numbers in the range from 0 to
  .if t 2\u\s731\s10\d\(mi1.
  .if n (2**31)\(mi1.
+ The maximum value returned by
+ .Fn random
+ is
+ .Dv LONG_MAX
+ (as defined by the header file
+ .Aq Pa limits.h ) .
  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).
>Audit-Trail:
>Unformatted: