# Base-N Mode

The Integer Base N keypad differs in many ways to the others, and is designed to combine as much functionality as possible for the four available bases (binary, octal, decimal, hexadecimal). The buttons are listed below, together with a description of their intended use:

• , , , : Allow entry of base 16, base 10, base 8 and base 2 numbers respectively. Numbers of different bases can be combined in the same calculation, only the current number being entered is affected by pressing these keys. Note that the base of the result after pressing cannot be changed, however pressing to copy the result into a new (empty) calculation allows viewing of the result in different bases.
• , , : For inputting any permitted digits from the current base. Digits not available in bases 10, 8, and 2 are grayed out when one of these bases is selected.
• , , : Standard arithmetic operators, with multiplication having a higher precedence than addition and subtraction. Negative numbers can be entered by preceding them with , these are displayed in two’s-complement form at the current bits setting (default: 64).
• : Floor division with the same precedence as multiplication.
• : Obtain the result from an integer division, having the same precedence as multiplication and floor division.
• : Bitwise inversion with the result shown in two’s-complement form at the current bits setting (default: 64).
• , , : Bitwise binary operations, with AND having the higher precedence, but lower that addition and subtraction, and OR the lowest.
• , : Binary shift left or right, resulting in a multiplication or division by a power of two. Note these operators have a higher precedence than AND.
• , : Introduce sub-expressions of higher precedence. Note that on pressing the sub-expression is evaluated and shown as the running result.
• , , , : As for floating-point modes. Clear has a different name to avoid confusion with hexadecimal C.

The Constants Menu and Functions Menu are both unavailable in this mode, as they are not compatible with integer calculations.