본문으로 이동
Number Buffet

처음 100개의 16진수

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1A, 1B, 1C, 1D, 1E, 1F, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 2A, 2B, 2C, 2D, 2E, 2F, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 3A, 3B, 3C, 3D, 3E, 3F, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 4A, 4B, 4C, 4D, 4E, 4F, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 5A, 5B, 5C, 5D, 5E, 5F, 60, 61, 62, 63

100 values from 0 to 99, written in base 16.

설정

빠른 설정

The first value, in ordinary decimal. Counting continues with exact big integers even past 2^53 - 1.

Use 16 to advance one hex digit at a time, or 256 to advance one byte at a time.

0 means no padding. Set 2 for byte values, 4 for 16-bit words, 6 for a colour triplet; values too wide to fit are left unpadded.

A-F or a-f. Both are correct; the C and web worlds lean lowercase, hardware manuals lean upper.

Inserts a space every two digits, the way a hex dump is laid out.

Writes each line as "31 = 1F", which is what makes a conversion table.

모양 미세 조정

먼저 이미지 옆의 설정을 고르세요. 아래 조절기가 그것을 다듬습니다.

Frame

A border drawn inside the edge of the image.

고급

결과

100개 값

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1A, 1B, 1C, 1D, 1E, 1F, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 2A, 2B, 2C, 2D, 2E, 2F, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 3A, 3B, 3C, 3D, 3E, 3F, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 4A, 4B, 4C, 4D, 4E, 4F, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 5A, 5B, 5C, 5D, 5E, 5F, 60, 61, 62, 63

100 values from 0 to 99, written in base 16.


이미지 만들기

이 숫자를 꾸며 이미지로 내려받으려면 자바스크립트를 켜세요. 값 자체는 위에 나열되어 있습니다.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

처음 100개의 16진수은 무엇인가요?

처음 100개의 16진수은 다음과 같습니다.

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1A, 1B, 1C, 1D, 1E, 1F, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 2A, 2B, 2C, 2D, 2E, 2F, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 3A, 3B, 3C, 3D, 3E, 3F, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 4A, 4B, 4C, 4D, 4E, 4F, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 5A, 5B, 5C, 5D, 5E, 5F, 60, 61, 62, 63

아래의 배경 설명은 아직 번역되지 않아 영어로 표시됩니다.

16진수 소개

Base 16 is the youngest of the bases in daily use, and it exists because of a hardware decision. Grouping bits in fours lets one written digit stand for exactly four of them, so a byte is two digits and a 16-bit word is four, with no digit ever straddling a byte boundary. Octal did the same job on machines whose word sizes were multiples of three — the PDP-8's 12-bit words, the 36-bit IBM 7090 — and lost ground as the 8-bit byte became standard. Unix file permissions, still written 644 and 755, are an octal survival.

Base 16 had at least one advocate before computers existed. John W. Nystrom, a Swedish-American engineer, published a complete hexadecimal scheme in 1862 as the Tonal System, with invented names for the digits and matching proposals for hexadecimal weights, measures and coinage. It went nowhere.

Early machines disagreed about what to write for the six digits above 9; the Bendix G-15 of 1956 used the lowercase letters u, v, w, x, y and z. The name wobbled as well. "Hexadecimal" is a macaronic word, welding the Greek hexa- for six onto a Latinate -decimal; the consistently Latin "sexadecimal" is the older form, and was still turning up in Bendix documentation in the 1950s. The A-to-F convention everyone inherited established itself as the de facto standard from 1966, in the wake of the Fortran IV manual for the IBM System/360.

Notation itself never converged. C writes 0x1F, and C++, Java, Python, JavaScript, Go and Rust all followed; Motorola assemblers and the Pascal family write $1F; Intel-style assemblers append an h, as in 1Fh; the web writes colours as #1F1F1F. Four bits got a name of their own along the way — a nibble, sometimes spelled nybble, half a byte and exactly one hexadecimal digit.

주요 성질

  • One hexadecimal digit is exactly four bits, so two digits cover one 8-bit byte: 00 to FF is 0 to 255.
  • Converting between hexadecimal and binary is digit-by-digit substitution, with no carrying across digits.
  • FFFF is 65,535 and FFFFFFFF is 4,294,967,295 — the largest unsigned 16-bit and 32-bit values.
  • An n-bit value needs ceil(n/4) hexadecimal digits, which is why a 24-bit colour is written as six.
  • A number is divisible by 15 exactly when its hexadecimal digits sum to a multiple of 15 — casting out nines, rebased.
  • 1/d in lowest terms terminates in hexadecimal only when d is a power of two, so 1/3 and 1/5 both recur.
  • 2^53 - 1, the largest integer a JavaScript number holds exactly, is 1FFFFFFFFFFFFF in hexadecimal.
  • DEADBEEF, the long-standing debugging marker, is the decimal number 3,735,928,559.

다른 개수

출처