0b1101101000
0b1101101000 is a binary literal, a notation used in many programming languages to denote an integer written in base-2. The prefix 0b signals that the digits that follow are interpreted as binary rather than decimal, hexadecimal, or another base. Languages such as Python, JavaScript (ECMAScript 2015 and later), Go, and Rust recognize this form.
As an unsigned integer, 0b1101101000 equals 872 in decimal, and 0x368 in hexadecimal. It occupies 10 bits,
If interpreted as a signed value in two’s complement using 10 bits, the pattern represents -152, since
Applications of such binary literals include defining bit masks, flags, and small numeric constants in low-level
For conversion, one can convert to decimal by summing powers of two corresponding to set bits, or