home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / math / stat / 2334 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.3 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!pollux.acs.uci.edu!frederik
  2. From: frederik@pollux.acs.uci.edu (M. Donald Frederick)
  3. Newsgroups: sci.math.stat
  4. Subject: Re: bug in fortran RNG
  5. Message-ID: <2AFFFF33.13083@news.service.uci.edu>
  6. Date: 10 Nov 92 18:28:03 GMT
  7. Article-I.D.: news.2AFFFF33.13083
  8. References: <1992Nov5.205359.29733@cbfsb.cb.att.com> <1992Nov6.172324.23826@infodev.cam.ac.uk>
  9. Reply-To: frederik@pollux.acs.uci.edu (M. Donald Frederick)
  10. Organization: University of California, Irvine
  11. Lines: 35
  12. Nntp-Posting-Host: pollux.acs.uci.edu
  13.  
  14. In article <1992Nov6.172324.23826@infodev.cam.ac.uk>, nmm1@cus.cam.ac.uk (Nick Maclaren) writes:
  15. |> In article <1992Nov5.205359.29733@cbfsb.cb.att.com>, rizzo@cbnewsf.cb.att.com (anthony.r.rizzo) writes:
  16. |> |> Some time ago, during a discussion of random number generators,
  17. |> |> at least one individual mentioned that the RNG in "Numerical Recipes,"
  18. |> |> perhaps the fortran version, had a bug in it.  Does anyone recall
  19. |> |> what that bug was and how to correct it?  Does anyone recall
  20. |> |> which of the various RNGs in "Numerical Recipes" has the bug?
  21. |> |> Thanks!
  22. |> 
  23. |> I might have been the person, but I didn't say that there was a bug in any of
  24. |> the basic generators in Numerical Recipes.  I said that most of them were
  25. |> ghastly, and fail several of the standard tests very badly.  The only one
  26. |> that is any good is the DES-based one, and I suggest using more efficient
  27. |> code (such as Eric Young's).  Alternatively, use a reliable traditional
  28. |> generator, such as Wichmann and Hill's.
  29. |> 
  30. |> 
  31. |> Nick Maclaren
  32. |> University of Cambridge Computer Laboratory,
  33. |> New Museums Site, Pembroke Street,
  34. |> Cambridge CB2 3QG, England.
  35. |> Email:  nmm1@cus.cam.ac.uk
  36. |> Tel.:   +44 223 334761
  37. |> Fax:    +44 223 334679
  38.  
  39. The NR authors have issued improved RNGs in the 2nd edition of their book.
  40. The same algorithms are discussed in their column in the Sep/Oct issue of
  41. "Computers in Physics".
  42.  
  43. ------------------------------------------------------------------------
  44.         Donald Frederick       |      Office of Academic Computing
  45.         frederik@uci.edu       |      University of California, Irvine
  46.         frederik@UCI.BITNET    |      Irvine, CA  92717
  47.         (714) 725-3200         |      FAX (714) 725-2069
  48. -----------------------------------------------------------------------
  49.