FINAL TOOLBOX
05 // Unicode, Symbol & Encoding WorkbenchNUMBER-BASE-BITWISE

Binary & Hex Register / Floating-Point Bit Workbench

Visualizes exact binary bit positions, hexadecimal byte boundaries, and bitwise masks for systems engineering, network subnetting, and embedded firmware.

DECIMAL (10)
1024
HEX (16)
0x400
BINARY (2)
0b10000000000
OCTAL (8)
0o2000
A & B
0 (0x0)
A | B
1039 (0x40F)
A ^ B
1039 (0x40F)
A << 1 / A >> 1
2048 / 512
Was this tool helpful?

Reference Table

  • 01IEEE-754 double-precision (`float64`) uses 1 sign bit, 11 exponent bits (bias 1023), and 52 explicit significand fraction bits (53 bits of precision ≈ 15–17 decimal digits).

Frequently Asked Questions

Why does `0.1 + 0.2 === 0.30000000000000004` in IEEE-754 floats?+

Just as `1/3 = 0.333...` repeats infinitely in base 10, `1/10 = 0.0001100110011...₂` repeats infinitely in base 2 and rounds at bit 53.

How should monetary cents be stored to avoid float rounding?+

Store integer minor units (e.g., integer cents or micro-dollars) or fixed-point decimal strings.

What are `Infinity` and `NaN` in IEEE-754?+

Exponent all-ones (`0x7FF`) with zero mantissa represents `±Infinity`, while non-zero mantissa represents `NaN` (`NaN !== NaN`).