Skip to main content
>_devtools

Signed ↔ Unsigned Integer Converter

Reinterpret an integer at a chosen width using signed and unsigned two’s-complement forms.

What it does

Reinterpret an integer as signed or unsigned using a selected bit width and two’s-complement rules. Choose the direction and width to see the equivalent value.

Example

Signed input: -42
Width: 8 bits
Unsigned result: 214

Limits

  • Width must be between 1 and 1,024 bits.
  • Values outside the selected range are rejected.