Base-16 literal
0x100
- Base 16
- 9 bits
- = 256
0x100 is a hexadecimal literal equal to 256 in decimal. It needs 9 bits (2 bytes) of storage, and is 0x100 in hexadecimal and 100000000 in binary.
In every base
Decimal256
Binary100000000
Octal400
Hexadecimal100
Base 3280
Base 3674
Prefixed literals0x100 · 0o400 · 0b100000000
Bit width & storage
Significant bits9
Bytes needed2
Fits in 8 bitsNo
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bitsDoes not fit
Padded to 32 bits00000000000000000000000100000000
Read another way
Bitwise operations
NOT (32-bit)4,294,967,039
Shift left by 1512
Shift right by 1128
Population count1the number of set bits
Lowest set bit256
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
The same value
Also reads as
U+0100 (unicode character)
- U+0100
- Ā
- Uppercase letter
U+0100 is code point 256 (Ā), an uppercase letter in the Latin Extended-A block of the Basic Multilingual Plane. It takes 2 bytes in UTF-8 and 1 unit in UTF-16.
Identity
Code pointU+0100
Decimal256
CharacterĀ
General categoryUppercase letter
BlockLatin Extended-A
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none
Encodings
UTF-8C4 802 bytes
UTF-160100a single unit
UTF-3200000100
Binary100000000
Bytes in UTF-8 vs UTF-162 vs 2UTF-16 is not always smaller, even for non-Latin text
Writing it in code
HTML numeric entityĀ
HTML hex entityĀ
CSS escape\0100
JavaScript\u0100
Python\u0100
Percent-encoded (URL)%C4%80
Things that catch people out
JavaScript string length1
Needs a surrogate pairNo
Safe in a URL unescapedNo
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page