home *** CD-ROM | disk | FTP | other *** search
- From: akcs.levenson@hpcvbbs.cv.hp.com (william j. levenson)
- Date: Wed, 12 Aug 1992 16:40:03 GMT
- Subject: Re: Binary MOD
- Message-ID: <2a893382.1568.1comp.sys.hp48.1@hpcvbbs.cv.hp.com>
- 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
- Newsgroups: comp.sys.hp48
- References: <23302E@erik.naggum.no>
- Lines: 12
-
- Regarding a binary MOD function:
-
- I don't think a binary mod function exists in user RPL. System RPL,
- however, has a binary divide function which acts on internal binary
- integers (BINT's) which are different than the user binary numbers (which
- are actually 20 digit hex strings to the internal RPL routines). If you
- program in system RPL, this could be useful. But if you use user RPL
- only, the DUP2 / * - method is probably the best.
-
- Hope this helps.
-
- Bill Levenson
-