Post Reply 
Undocummented (?) limits for the HP50g
08-03-2021, 11:52 AM (This post was last modified: 08-03-2021 11:58 AM by John Keith.)
Post: #7
RE: Undocummented (?) limits for the HP50g
A few random (pun intended) ideas:

If by lsorting you mean using the program LSORT, it will fail given a list containing both real numbers and exact integers. You need to make sure that no real numbers have crept into your list.

You might also want to look at IFACTOR, it is significantly faster than the built-in FACTOR but the list it returns is in a different format.

Many of the commands you are using, MAX, MIN, MOD, IQUOT, and IREMAINDER are annoyingly slow with exact integers. Don't expect your program to be particularly fast! Another (slow) command you may be able to use is IDIV2, which gives you the quotient on level 2 and the remainder on level 1. It is actually a bit faster than either IQUOT or IREMAINDER.

Another useful library is ListExt 1.3. Along with many useful commands for general list processing, you may be particularly interested in I->BL and BL->I which convert exact integers into lists of digits in any base and vice versa.

Lastly, if you post some examples of your code you may get more helpful suggestions.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Undocummented (?) limits for the HP50g - John Keith - 08-03-2021 11:52 AM



User(s) browsing this thread: 2 Guest(s)