Base Number Calculation
CalcES allow you to perform calculation on DECIMAL, BINARY, OCTAL and HEXADECIMAL bases.
-
Press MODE , select
BASE-N
to enter Base-N Calculations mode -
The Base-N display contains the current base and the bit size.
Base-n and bit size
Supported bases
- BINARY: base 2, 01
- OCTAL: base 8, 01234567
- DECIMAL: base 10, 0123456789
- HEXADECIMAL: base 16: 0123456789ABCDEF
Supported data types
- 8 bits (byte, int8)
- 16 bits (short, int16)
- 32 bits (int, int32)
- 64 bits (long, int64)
Converting from a base to another base
Example: Converting 542
(base 10) to base 2
(binary) and base 16
(hex)
-
Switch to
DECIMAL
base by pressingDEC
-
Enter
542
-
Press
HEX
to convert to hex -
Press
BIN
to convert to binary
Operators
Arithmetic operators
Plus:
Subtract:
Multiply
Divide
For non-integer value, (like 12.5
), the calculator DOES NOT use an IEEE-754 format.
Instead, it uses the following format:
Example
Mod
Logical operators
And
Nand
Or
Nor
Xor
Nxor
Not
ShiftRight
When shifting right, the right most bit is lost and 0 is inserted on the left most.
If a number is negative (encoded using two’s complement), then a right shift preserves the number’s sign
ShiftLeft
Logical functions
RotateLeft
RotateRight
Floor
Ceil
Settings
Digit grouping format settings
The calculator allow to customize the digits grouping.
Example: the number 1001010010101001
can be formatted with 4, 9, 16 and 32 digits per group
Fractional part precision of non-integer
This option allow to change the number of digits in fractional part of non-integer number.