Base-8 literal
0o376
- Base 8
- 8 bits
- = 254
0o376 is a octal literal equal to 254 in decimal. It needs 8 bits (1 bytes) of storage, and is 0xFE in hexadecimal and 11111110 in binary.
In every base
Decimal254
Binary11111110
Octal376
HexadecimalFE
Base 327U
Base 3672
Prefixed literals0xfe · 0o376 · 0b11111110
Bit width & storage
Significant bits8
Bytes needed1
Fits in 8 bitsYes
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bits11111110
Padded to 32 bits00000000000000000000000011111110
Read another way
Bitwise operations
NOT (32-bit)4,294,967,041
Shift left by 1508
Shift right by 1127
Population count7the number of set bits
Lowest set bit2
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