home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp48 / 4484 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  850 b 

  1. Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!jollie@zambini.cs.uiowa.edu
  2. From: jollie@zambini.cs.uiowa.edu (Jeffrey C. Ollie)
  3. Newsgroups: comp.sys.hp48
  4. Subject: HP's RAND algorithm
  5. Message-ID: <1992Sep4.183731.130@news.uiowa.edu>
  6. Date: 4 Sep 92 18:37:31 GMT
  7. Sender: news@news.uiowa.edu (News)
  8. Organization: University of Iowa
  9. Lines: 8
  10. Nntp-Posting-Host: gator-mtc-2.itc.uiowa.edu
  11.  
  12. I just got my 48SX, and I love it! But, I was wondering what algorithm
  13. HP used for the random number generator. I'm hoping that it is a
  14. prime modulus multiplicative linear conguential generator (I'm not
  15. making this up) with a=16807 and m=2^31 - 1. I've written one of my own,
  16. but would prefer to use the built in RAND.
  17.  
  18. Jeff Ollie
  19. jollie@zambini.cs.uiowa.edu "The Happy User"
  20.