Base-2 literal
0b1000000000000
- Base 2
- 13 bits
- = 4,096
0b1000000000000 is a binary literal equal to 4,096 in decimal. It needs 13 bits (2 bytes) of storage, and is 0x1000 in hexadecimal and 1000000000000 in binary.
In every base
Decimal4,096
Binary1000000000000
Octal10000
Hexadecimal1000
Base 32400
Base 3635S
Prefixed literals0x1000 · 0o10000 · 0b1000000000000
Bit width & storage
Significant bits13
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 bits00000000000000000001000000000000
Read another way
Bitwise operations
NOT (32-bit)4,294,963,199
Shift left by 18,192
Shift right by 12,048
Population count1the number of set bits
Lowest set bit4,096
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
The same value
Nerdulate something else
Nothing in mind? Surprise me · today’s page