home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp48 / 4243 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  852 b 

  1. From: akcs.levenson@hpcvbbs.cv.hp.com (william j. levenson)
  2. Date: Wed, 12 Aug 1992 16:40:03 GMT
  3. Subject: Re: Binary MOD
  4. Message-ID: <2a893382.1568.1comp.sys.hp48.1@hpcvbbs.cv.hp.com>
  5. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!hp-cv!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.levenson
  6. Newsgroups: comp.sys.hp48
  7. References: <23302E@erik.naggum.no>
  8. Lines: 12
  9.  
  10. Regarding a binary MOD function:
  11.  
  12. I don't think a binary mod function exists in user RPL.  System RPL,
  13. however, has a binary divide function which acts on internal binary
  14. integers (BINT's) which are different than the user binary numbers (which
  15. are actually 20 digit hex strings to the internal RPL routines).  If you
  16. program in system RPL, this could be useful.  But if you use user RPL
  17. only, the DUP2 / * - method is probably the best.
  18.  
  19. Hope this helps.
  20.  
  21. Bill Levenson
  22.