home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / math / stat / 2317 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.5 KB  |  36 lines

  1. Newsgroups: sci.math.stat
  2. Path: sparky!uunet!pipex!warwick!pavo.csi.cam.ac.uk!camcus!nmm1
  3. From: nmm1@cus.cam.ac.uk (Nick Maclaren)
  4. Subject: Re: bug in fortran RNG
  5. Message-ID: <1992Nov6.172324.23826@infodev.cam.ac.uk>
  6. Sender: news@infodev.cam.ac.uk (USENET news)
  7. Nntp-Posting-Host: bootes.cus.cam.ac.uk
  8. Organization: U of Cambridge, England
  9. References: <1992Nov5.205359.29733@cbfsb.cb.att.com>
  10. Date: Fri, 6 Nov 1992 17:23:24 GMT
  11. Lines: 23
  12.  
  13. In article <1992Nov5.205359.29733@cbfsb.cb.att.com>, rizzo@cbnewsf.cb.att.com (anthony.r.rizzo) writes:
  14. |> Some time ago, during a discussion of random number generators,
  15. |> at least one individual mentioned that the RNG in "Numerical Recipes,"
  16. |> perhaps the fortran version, had a bug in it.  Does anyone recall
  17. |> what that bug was and how to correct it?  Does anyone recall
  18. |> which of the various RNGs in "Numerical Recipes" has the bug?
  19. |> Thanks!
  20.  
  21. I might have been the person, but I didn't say that there was a bug in any of
  22. the basic generators in Numerical Recipes.  I said that most of them were
  23. ghastly, and fail several of the standard tests very badly.  The only one
  24. that is any good is the DES-based one, and I suggest using more efficient
  25. code (such as Eric Young's).  Alternatively, use a reliable traditional
  26. generator, such as Wichmann and Hill's.
  27.  
  28.  
  29. Nick Maclaren
  30. University of Cambridge Computer Laboratory,
  31. New Museums Site, Pembroke Street,
  32. Cambridge CB2 3QG, England.
  33. Email:  nmm1@cus.cam.ac.uk
  34. Tel.:   +44 223 334761
  35. Fax:    +44 223 334679
  36.