Re: HP-16C versus SR-22 Message #4 Posted by Vieira, Luiz C. (Brazil) on 22 Dec 2002, 10:55 p.m., in response to message #3 by Les Bell [Sydney]
Hi;
you're right. There is an IEEE standard for representing binary numbers (not integers) in a 32-bit word like this:
s e f (IEEE proposed format)
31 30 23 22 0 (bit #)
where s is the 1-bit signal, e is the 8-bit biased exponent and f is the 23-bit fraction.
As the HP16C representes floating point numbers in a ASCII fashion, the equivalence beteween the floating point numbers and the binary integers in the HP16 is accomplished with [FLOAT] n and any of the four base keys: [BIN], [OCT], [DEC] and [HEX]. When toggling from floating point to any of the integer bases, one binary integer is obtained from the values in Y and X registers, like this:
(integer in selected base) = Y . 2^X
This equivalence is preserved when toggling back.
The Programs for Format Conversion provided in the HP16C manual demonstrate how to convert from internal HP16C's floating point decimal and IEEE floating point binary (single precision) and back.
None of these operations are equivalent to the ones shown in the SR22, and I believe this is mostly because this calculator seems to allow binary numbers to be entered, not supported by the HP16C that only accepts single binary integers as input data.
Am I correct or I missed something?
Cheers.
|