αβγ
Converting numbers between modes
When you switch between modes, or recall a number from a memory
register or the clipboard (paste), conversions are applied following
these rules:
- When switching away from the Complex mode, the imaginary part of
all stack registers are lost.
- When switching into a binary mode, the fractional part of all
stack registers are lost.
- When selecting a smaller word size in binary modes (to 32, 16 or 8
bits), the most significant bits of all stack registers are lost.
- The binary numbers are always treated as signed 2’s complement,
so for example the value (hex) FF will translate into -1
when 8-bit word size is selected, otherwise 255.
- When you switch into one of the binary modes (from Decimal or
Complex), the values of all stack registers are chopped to fit into the
current word size, with no warning given.
- When a memory register containing a Decimal, Complex or
Fractional number is recalled to the X register in a binary
mode, the value is likewise chopped to fit the current word size. The fractional and imaginary
parts are lost.
- When a memory register containing a binary number is recalled to
the X register in a binary mode, the high-order bits are lost
if the current word size is too small.