internal number representation

10072016, 01:05 AM
Post: #4




RE: internal number representation
On the HP 48, the sign nibble is encoded with 0 meaning positive and 9 meaning negative.
The 3 nibble of the exponent are encoded in BCD, but if the value is negative, then it's encoded as 1000ABS(exponent). Put another way, if value in the exponent nibbles is more than 499, then take the value, subtract it from 1000 , negate it and that's the value. For example, if the exponent nibbles contain 600, then actual exponent is (1000600) = 400. See pages 104105 here: http://www.hpcalc.org/details/1693 

« Next Oldest  Next Newest »

Messages In This Thread 
internal number representation  retoa  10052016, 06:25 AM
RE: internal number representation  Tim Wessman  10052016, 03:42 PM
RE: internal number representation  retoa  10052016, 09:27 PM
RE: internal number representation  David Hayden  10072016 01:05 AM
RE: internal number representation  retoa  10072016, 07:30 AM
RE: internal number representation  jte  10082016, 08:37 PM
RE: internal number representation  cyrille de brĂ©bisson  10102016, 10:05 AM

User(s) browsing this thread: