Base-8 literal
0o377
- Base 8
- 8 bits
- = 255
0o377 is a octal literal equal to 255 in decimal. It needs 8 bits (1 bytes) of storage, and is 0xFF in hexadecimal and 11111111 in binary.
In every base
Decimal255
Binary11111111
Octal377
HexadecimalFF
Base 327V
Base 3673
Prefixed literals0xff · 0o377 · 0b11111111
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 bits11111111
Padded to 32 bits00000000000000000000000011111111
Read another way
Bitwise operations
NOT (32-bit)4,294,967,040
Shift left by 1510
Shift right by 1127
Population count8the number of set bits
Lowest set bit1
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