Home

0b100111101001

0b100111101001 is a binary numeral literal used in computer science to represent an integer. The prefix 0b indicates base-2 notation in many programming languages, and the following digits form a 12-bit binary value: 100111101001.

Its decimal value is 2537, and its hexadecimal representation is 0x9E9. The binary digits correspond to 2^11

As a bit pattern, it has ones at bit positions 11, 8, 7, 6, 5, 3, and

In software and digital design, such literals are commonly used to specify bitmasks, addresses, or constants.

+
2^8
+
2^7
+
2^6
+
2^5
+
2^3
+
2^0.
0
(counting
from
zero).
This
makes
it
a
relatively
sparse
12-bit
mask
that
could
be
used
in
bitwise
operations
to
enable
or
test
a
specific
set
of
flags.
The
exact
interpretation
depends
on
the
surrounding
width
(12,
16,
32
bits,
etc.)
and
whether
the
value
is
treated
as
unsigned
or
signed
in
a
given
context.