[8385] in Athena Bugs
decmips 7.3P: f77 (DECstation 3100)
daemon@ATHENA.MIT.EDU (xiaolin@Athena.MIT.EDU)
Fri Oct 11 16:28:54 1991
From: xiaolin@Athena.MIT.EDU
To: bugs@Athena.MIT.EDU
Date: Fri, 11 Oct 91 16:29:43 EDT
System name: m37-312-16
Type and version: KN01 7.3P
Display type: PMAX-MFB
What were you trying to do?
Generate random numbers in FORTRAN on a DECstation 3100.
What's wrong:
The rand() function as described in the man pages
kept returning a value of 0.
What should have happened:
rand() is supposed to return a pseudo-random
real between 0 and 1. Instead I found that
ran(iseed) is the correct function.
Please describe any relevant documentation references:
RISC man pages are incorrect.