Nerdulator> put something in

Base-16 literal

0x8000

  • Base 16
  • 16 bits
  • = 32,768

0x8000 is a hexadecimal literal equal to 32,768 in decimal. It needs 16 bits (2 bytes) of storage, and is 0x8000 in hexadecimal and 1000000000000000 in binary.

In every base

Decimal32,768
Binary1000000000000000
Octal100000
Hexadecimal8000
Base 321000
Base 36PA8
Prefixed literals0x8000 · 0o100000 · 0b1000000000000000

Bit width & storage

Significant bits16
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 bits00000000000000001000000000000000

Read another way

As an IPv4 address0.0.128.0
As a 24-bit colour#008000
As a Unicode code pointU+8000, "耀"
As a byte count32 KiB
As a duration in seconds9 hours, 6 minutes and 8 seconds

Bitwise operations

NOT (32-bit)4,294,934,527
Shift left by 165,536
Shift right by 116,384
Population count1the number of set bits
Lowest set bit32,768

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

U+8000 (unicode character)

  • U+8000
  • 耀
  • Other letter

U+8000 is code point 32,768 (耀), an other letter in the CJK Unified Ideographs block of the Basic Multilingual Plane. It takes 3 bytes in UTF-8 and 1 unit in UTF-16.

Open this reading on its own page →

Identity

Code pointU+8000
Decimal32,768
Character耀
General categoryOther letter
BlockCJK Unified Ideographs
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none

Encodings

UTF-8E8 80 803 bytes
UTF-168000a single unit
UTF-3200008000
Binary1000000000000000
Bytes in UTF-8 vs UTF-163 vs 2UTF-16 is not always smaller, even for non-Latin text

Writing it in code

HTML numeric entity耀
HTML hex entity耀
CSS escape\8000
JavaScript\u8000
Python\u8000
Percent-encoded (URL)%E8%80%80

Things that catch people out

JavaScript string length1
Needs a surrogate pairNo
Safe in a URL unescapedNo

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nearby code points

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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