Convert numbers between bases 2-36.
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Positional notation | value = sum d_i * base^i for base 2, 8, 10 or 16 | ISO 80000-2 |
| Prefixes | 0b binary, 0o octal, 0x hexadecimal | ISO/IEC 9899 (C) |
| Signed forms | two's complement with the sign in the top bit | ISO/IEC 9899 (C) |