EXACT INTEGERS · BITS EXPLAINED
Integer Representation Inspector
One bit pattern, two interpretations. Choose the input rules, then compare mathematical value with its fixed-width encoding.
Processed only in this page’s memory. No storage, transmission or clipboard access. Reload restores defaults. Browser memory is not a secure-erasure guarantee.
Not enabled yet: JavaScript and BigInt support are required. No valid result is displayed; approximate-number fallback is not used.
1 · Define the input
2 · Exact result
Mathematical representations keep a minus sign; fixed-width bits encode negatives in two’s complement. Byte groups are displayed most-significant-byte first, not machine memory order or a file format.
- Permitted input range
- Mathematical decimal
- Mathematical binary
- Mathematical octal
- Mathematical hex
- Fixed-width bits
- Fixed-width hexadecimal bytes
- Same bits interpreted as signed
- Same bits interpreted as unsigned
Weight interpretation used in the bit strip:
Bit strip (locally scrollable)
| Index | Bit | Unsigned weight | Signed weight |
|---|
Select text manually. ASCII keys and values stay invariant across languages. No copy or download button.