Nerdulator> put something in

Base-8 literal

0o400

  • Base 8
  • 9 bits
  • = 256

0o400 is a octal 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

As an IPv4 address0.0.1.0
As a 24-bit colour#000100
As a Unicode code pointU+0100, "Ā"
As a byte count256 B
As a duration in seconds4 minutes and 16 seconds

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.

Neighbouring values

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “0o400” by Nerdulator’s computing engine. Nothing here was retrieved from a database of answers or written by a model.