Home

0b1111111001101

0b1111111001101 is a binary literal that encodes the bit pattern 1111111001101 in base 2. The 0b prefix is commonly used in programming languages such as C, C++, Rust, and Python to denote binary notation.

In unsigned interpretation, this value equals 8141 in decimal. It matches the hexadecimal representation 0x1FCD, since

If interpreted as a signed integer in two's complement with 13 bits, the bit sequence represents -51,

Applications of such a binary literal include defining fixed bit patterns for testing, constructing masks for

See also: binary literals, two's complement, hexadecimal notation.

0x1FCD
equals
8141.
The
pattern
is
13
bits
wide,
with
the
most
significant
bit
set
to
1.
since
2^13
is
8192
and
8192
-
8141
equals
51.
bitwise
operations,
or
illustrating
binary-to-hexadecimal
conversions.
It
also
serves
as
a
concise
example
of
how
width
and
sign
affect
numeric
interpretation.