Nerdulator> put something in

Base-16 literal

0xfff

  • Base 16
  • 12 bits
  • = 4,095

0xfff is a hexadecimal literal equal to 4,095 in decimal. It needs 12 bits (2 bytes) of storage, and is 0xFFF in hexadecimal and 111111111111 in binary.

In every base

Decimal4,095
Binary111111111111
Octal7777
HexadecimalFFF
Base 323VV
Base 3635R
Prefixed literals0xfff · 0o7777 · 0b111111111111

Bit width & storage

Significant bits12
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 bits00000000000000000000111111111111

Read another way

As an IPv4 address0.0.15.255
As a 24-bit colour#000FFF
As a Unicode code pointU+0FFF, "࿿"
As a byte count3.999 KiB
As a duration in seconds1 hour, 8 minutes and 15 seconds

Bitwise operations

NOT (32-bit)4,294,963,200
Shift left by 18,190
Shift right by 12,047
Population count12the 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+0FFF (unicode character)

  • U+0FFF
  • ࿿
  • Unassigned or unknown

U+0FFF is code point 4,095 (࿿), an unassigned or unknown 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+0FFF
Decimal4,095
Character࿿
General categoryUnassigned or unknown
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-8E0 BF BF3 bytes
UTF-160FFFa single unit
UTF-3200000FFF
Binary111111111111
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\0FFF
JavaScript\u0FFF
Python\u0FFF
Percent-encoded (URL)%E0%BF%BF

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