8

Why does the word "hexadecimal" have the prefix "hexa-" if it has a base of 16, not 6?

4 Answers4

10

If decimal is "ten-ly", hexadecimal is "six-ten-ly", or "sixteenly".

Daniel
  • 57,547
Tao
  • 490
8

Hexa- is the Greek prefix for the number six, from hex, "six"; cf. hexagon, hexameter, hexad, etc.

Decimus is the Latin ordinal number "tenth"; cf. decimate, decimal.

This hybrid construction hexadecimal is strange but often seen in English to mean "sixteenth" or "pertaining to sixteen". It does not exist in either Latin or Greek, of course.

In Latin, it would be sedecimus, "sixteenth", leading to English sedecimal.

In Greek, in would be hekkaidekatos, "sixteenth", possibly leading to English heccaedecatic; but derivations of such polysyllabic Greek numbers are rarely used in English. The prefix would be heccaedeca-, as in a heccaedeca(h)edron, a polyhedron with sixteen surfaces.

  • Back in those times, little importance was given to numbers beyond around 12. For this reason in english, numbers one through twelve are all unique names while a pattern emerges afterds (thirteen fourteen fifteen etc.). They came afterwards. Consequently, the typical way to handle such ideas was to sum two such numbers to define a larger number. In fact, "thirteen" "fourteen" "fifteen" essentially only mean "3 10" "4 10" "5 10". – Neil May 06 '11 at 14:04
  • 1
    @Neil: True. And 11 and 12 also come from one-ten and two-ten in Latin (un-decim) and Greek (hen-deka). It is just the Germanic languages that use one-left and two-left ("one left if you remove ten", or something like that). – Cerberus - Reinstate Monica May 06 '11 at 14:18
6

The prefix “hexa-” originally means six, it's “hexadecim-” that means sixteen. (Latin and greek had constructions similar to English for numbers between 13 and 19.) In computer-related usage, base 16 is very common, so the prefix for 16 has come to be systematically abbreviated “hex-” or “hexa-”. Since base 6 is never used, there's no ambiguity.

4

Because "sexadecimal" would be considered too rude for IBM in the 50s.

Knuth says that it should be "senidenary." (The art of computer programming vol. 2 Seminumerical Algorithms p200.)

apaderno
  • 59,185
mgb
  • 24,191