Decimal, Hex, Octal & Binary
Edit any base field; decimal, hexadecimal, octal, and binary stay in sync. One's and two's complement binary are shown at the same width.
Representations
Non-negative whole numbers. Optional 0x, 0o, and 0b prefixes are accepted in hex, octal, and binary fields. Complements use the same bit width as the binary field.
Hexadecimal, octal, and binary values are grouped in blocks of four digits for readability. Spaces are ignored when parsing. One's complement inverts every bit; two's complement is one's complement plus one, both in the same width as the binary value above.
Related: Bits, Bytes and More, Boolean Truth Tables, Signed & Unsigned Numbers, Byte Storage Order, Data Storage, Character Sets.