Post Reply 
Little explorations with HP calculators (no Prime)
12-19-2017, 09:27 PM (This post was last modified: 12-19-2017 10:38 PM by DavidM.)
Post: #258
RE: Little explorations with HP calculators (no Prime)
(12-19-2017 09:15 PM)pier4r Wrote:  Another observation. In my data collection I observed that two lists of the same length, 193 elements, both holding reals, have two different sizes . One list has values between 0 and 4 (integers expressed as reals) and uses less than 500 bytes.
The other holds integers expressed as reals from 0 to 520 and uses more than 2000 bytes.

Some reals are built-in to ROM (as are some exact integers), and are usually referenced in a list by their 2.5 byte address instead of the actual raw data (which consumes 10.5 bytes). In particular, all integer reals in the range -9..35 can be referenced this way. There's others, too, but that should give you some idea of where the size differences come from.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Little explorations with HP calculators (no Prime) - DavidM - 12-19-2017 09:27 PM



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