Nerdulator> put something in

Base-16 literal

0x1001

  • Base 16
  • 13 bits
  • = 4,097

0x1001 is a hexadecimal literal equal to 4,097 in decimal. It needs 13 bits (2 bytes) of storage, and is 0x1001 in hexadecimal and 1000000000001 in binary.

In every base

Decimal4,097
Binary1000000000001
Octal10001
Hexadecimal1001
Base 32401
Base 3635T
Prefixed literals0x1001 · 0o10001 · 0b1000000000001

Bit width & storage

Significant bits13
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 bits00000000000000000001000000000001

Read another way

As an IPv4 address0.0.16.1
As a 24-bit colour#001001
As a Unicode code pointU+1001, "ခ"
As a byte count4.001 KiB
As a duration in seconds1 hour, 8 minutes and 17 seconds

Bitwise operations

NOT (32-bit)4,294,963,198
Shift left by 18,194
Shift right by 12,048
Population count2the number of set bits
Lowest set bit1

Keep nerding

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

Neighbouring values

Also reads as

U+1001 (unicode character)

  • U+1001
  • Other letter

U+1001 is code point 4,097 (ခ), an other letter in the Outside the listed blocks 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+1001
Decimal4,097
Character
General categoryOther letter
BlockOutside the listed blocks
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none

Encodings

UTF-8E1 80 813 bytes
UTF-161001a single unit
UTF-3200001001
Binary1000000000001
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\1001
JavaScript\u1001
Python\u1001
Percent-encoded (URL)%E1%80%81

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 “0x1001” by Nerdulator’s computing engine. Nothing here was retrieved from a database of answers or written by a model.