Radix & Bitwise Architecture ReferenceStandard computing radices, powers of two, bitwise operations, and IEEE 754 layouts.
Digits 0 and 1. Prefixed with 0b. The foundational radix of digital computing logic.
0b101010 = 42
Digits 0-9 and A-F. Prefixed with 0x. Compact representation of 4-bit nibbles.
0x2A = 42
Digits 0-7. Prefixed with 0o. Compact representation of 3 bits, commonly used in Unix permissions.
0o755 = rwxr-xr-x
Representation for signed integers: negative values are formed by inverting bits and adding 1.
-1 in 8-bit is 0xFF (255)
Radix 58 omitting visually ambiguous characters (0, O, I, l) and punctuation.
1A1zP1eP5Q...
<< shifts bits left (multiplying by 2); >> arithmetic right shift; >>> logical right shift.
1 << 3 = 8
1 sign bit + 8 exponent bits (bias 127) + 23 mantissa/fraction bits.
0x3F800000 = 1.0f