Octo7 Two’s complement example

Read the bits.

Inspect a fixed-width integer, flip individual bits, and read the same pattern as signed or unsigned.

Word input

Decimal or 0x hex, 0o octal, 0b binary.

Word readout

Signed decimal
—
Unsigned decimal
—
Hexadecimal
—
Octal
—
Binary
—

Bit pattern

Select a bit to flip it. The highest bit is the sign bit in two’s complement.