home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19961 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  658 b 

  1. Path: sparky!uunet!think.com!hsdndev!husc-news.harvard.edu!husc8.harvard.edu!mlevin
  2. From: mlevin@husc8.harvard.edu (Michael Levin)
  3. Newsgroups: comp.os.vms
  4. Subject: VAX-C rand() routine alternates even/odd!!!
  5. Message-ID: <1992Dec28.152022.18871@husc3.harvard.edu>
  6. Date: 28 Dec 92 20:20:21 GMT
  7. Distribution: usa
  8. Organization: Harvard University Science Center
  9. Lines: 7
  10. Nntp-Posting-Host: husc8.harvard.edu
  11.  
  12.  
  13.      I just noticed that the rand() routine in VAX C gives numbers
  14. which alternate between even/odd! Is this known behavior? Is there a
  15. better random number generator for VMS which doesn't do this?
  16. Please reply to mlevin@husc8.harvard.edu.
  17.  
  18. Mike Levin
  19.