Jump to content

Talk:Hexadecimal

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 66.168.19.135 (talk) at 23:45, 28 August 2008 (→‎Difference between 0x08F79152 and just plain 08F79152?: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Please add {{WikiProject banner shell}} to this page and add the quality rating to that template instead of this project banner. See WP:PIQA for details.
WikiProject iconMathematics B‑class Mid‑priority
WikiProject iconThis article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
BThis article has been rated as B-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-priority on the project's priority scale.

True or not: "Hexagesimal" is a synonym to "hexadecimal"?

The word "hexadecimal" is strange in that "hexa" is derived from Greek six and "decimal" is derived from Latin ten. The original term was the fully-Latin "sexidecimal", but that was changed because some people thought it to be too racy. The correct Greek would be hexagesimal, which some purists use.


The first sentence is OK. The second sentence is true, but "sexidecimal" seems to be used to mean "base 60" more often than "base 16". The third sentence is untrue, because "hexagesimal" (if it exists in English) is composed of a Greek prefix hexa- and a Latinate suffix -gesimal, as in sexagesimus, meaning "sixtieth". A Google search shows that "hexagesimal" is used in Spanish but hardly ever in English, and even then its meaning is divided between "base 16" and "base 60". My conclusion is that there is no word with a pure pedigree that is copper-bottom guaranteed to mean "base 16". -- Heron


Like I already posted at User_talk:The_Yeti#Hexagesimal, 3 July 2007:
The terms "hexagesimal" and "hexadecimal" can't be considered to be synonyms.  The term vigesimal comes from lat. "viginti", eng. "twenty", whereas the term sexagesimal derives etymologically from the latin numeral "sexaginti" that means "sixty". The latin prefix "sexa-" equals the greek "hexa-". Both mean "six".
Thus "hexagesimal" is always synonym to "sexagesimal", never to "hexadecimal". Except by misusage or mistake.
Since User:the Yeti today reverted my good redirect from to the older, bad version. My question to all and everyone: Any new, refuting arguments?
-- Gluck 123 17:55, 8 October 2007 (UTC)[reply]
Thus I restored today the good redirect Hexagesimal to Sexagesimal.  -- Gluck 123 09:09, 17 October 2007 (UTC)[reply]

Sexidecimal is Correct! (not Literally but Historically)

It is true that engineers at IBM first used the bastardized Latin form Sexidecimal to describe a base 16 numbering system. It is not, and should not be the primary question here whether the form is correct grammatically. Instead, what is much more important is that the term was accurate historically -- it was used at a certain place and time. Language is less concerned with Accuracy than with Consensus. As such, it is always subject to change as soon as enough people agree that it should.

Google returns 374 results on "sexidecimal". Sounds like consensus to me.

Is it really strange to combine Greek & Latin in an English word ?

I have been told that Greek/Latin hybrids are actually not so uncommon in English. Off-hand the only one that I can recall, however, is automobile--which in modern Greek is aftokeenito, not using the Latin backend :)

The most well known one to me is television -- User:Karl Palmen.

Alternative Digit Representations

Raul654 has said "In some representations, the characters ~, !, @, #, $ and % are used instead of ABCDEF (respectively). " I'd like to know where?

Is % an acceptable digit?

-- User:Karl Palmen 3 June 2004

An anon contributor added that much. I rewrote it to make it blend into the article better. I'm not 100% sure if the statement is true, though. →Raul654 13:19, Jun 3, 2004 (UTC)
I was wondering that, too. Marnanel 17:19, 23 Jun 2004 (UTC)
I deleted the obscure figures (~ to %) introduced by User:206.80.111.48 on June 3.
Before reintroducing them, please give sources of their use. Paul Martin 18:48, 7 Dec 2004 (UTC)

True or false??

True or false: this word is common because people fail to take notes on whether a prefix is Greek or Latin. The correct sequence from 11-19 is:

  • 11. undecimal
  • 12. duodecimal
  • 13. tredecimal
  • 14. quattuordecimal
  • 15. quindecimal
  • 16. sexdecimal
  • 17. septendecimal
  • 18. octodecimal
  • 19. novemdecimal

66.245.104.133 17:40, 2 Aug 2004 (UTC)

There are many hybrid words like this, such as homosexual. Hyacinth 05:19, 9 Apr 2005 (UTC)

X'5A3' representation

A discussion at Talk:Newline has reminded me that I run into the notation X'5A3' every so often, in documents such as protocol specifications. (At least, I believe it's a representation of hex literals.)

Does anyone know where it comes from? Is it tied to a particular programming language or culture?

JTN 21:57, 2004 Oct 4 (UTC)

Update: when Googling it seems to come up in IBM-ish contexts more often than not, and PL/I appears to have this or similar notation [1]. Don't know if it was around before that.

JTN 23:01, 2004 Oct 4 (UTC)

This is the format used in IBM mainframe assembly language, going back to System/360. 206.171.40.13 03:43, 18 January 2007 (UTC)[reply]

Table in article - Opera rendering

Isn't the table on the right a little wrong? After 9 in dec, the table seems to be mirrored, and decimal values are listed under binary and vice versa. --Spug 13:03, 3 Nov 2004 (UTC)

Looks fine to me. What's your browser? --JTN 14:00, 2004 Nov 3 (UTC)

I use Opera, and indeed, it looks fine in both IE and FF while Opera flips the table after dec 9. How strange. --Spug 10:17, 4 Nov 2004 (UTC)

But it's preformatted text! (At least the version served to my Firefox, and also the Wiki source.) How bizarre. --JTN 15:16, 2004 Nov 4 (UTC)

I know! Here's a screenshot. I have no idea why that's happening, but at least it's not the article's fault, so nevermind :) --Spug 22:21, 4 Nov 2004 (UTC)

That looks almost like it might be bidirectional script support misfiring. --JTN 10:55, 2004 Nov 5 (UTC)

Yeah... What could be triggering that, though? I've posted a topic about it in the Opera forums. --Spug 11:21, 5 Nov 2004 (UTC)

any chance of a link to the forum post? Plugwash 23:59, 9 Apr 2005 (UTC)

Fractions

Why exactly is hexadecimal "quite good" for forming fractions? I don't see how it's particularly better than any other numeral system. -- Wapcaplet 04:14, 6 Nov 2004 (UTC)

To me, it even seems "quite bad" for forming fractions, since it only has one prime factor, almost as bad as base 10... Κσυπ Cyp   2004年11月6日 (土) 14:30 (UTC)
It is good because not only does 16 have many divisors, but also 16 is one more than 15, which divides into the next two prime numbers after 2 (3 and 5), so one also gets a good set of repeating fractions. For that reason is much better than either Octal (base 8) or base 32. It may possibly be considered better than Duodecimal (base 12) because 11 is prime. Karl Palmen, 8 December 2004
If you wan't to represent as many fractions as possible without reccurance then lots of prime factors are good (so base 10 is better than base 16 in this respect). I can't really say anything about the niceness of recurring fractions as i don't know that sort of maths.

Hexadecimal notation using ABCDEF and IBM?

The article currently has two mentions of IBM as associated with the use of alphabetic characters A to F to represent numbers in hexadecimal representation. Does anyone have a link for a reference that would describe this as a notation first used by IBM? - [[User:Bevo|Bevo]] 05:34, 10 Dec 2004 (UTC)

Neither Gauss (1777-1855) nor Legendre (1752-1833) used this digits. I ignore if John W. Nystrom – the real inventor of hexadecimal time format (and not Mark V. Rogers of intuitor.com) – already used them. (The same as...)
Before the 20th century, hexadecimal digits are very seldom used and that's why no standard existed. Since IBM adopted this format, it is universally recognised. That's a fact. But surely IBM not used them first. As yet, it's not clearly established who used them first and since when. (1930th?).
Anyone knows more on this interesting topic? 81.57.112.41 15:10, 10 Dec 2004 (UTC)

IBM certainly was not the first to use A-F. Such was in use from the late 1940's through the late 1950's at MIT's Wirlwind Project - a 16 bit binary computer - I joined the project in 1952. Just as an aside, I got to this wikipeda page because I was looking for a better term that "hexadecimal digit" because a hexadecimal symbol is not 'decimal' - is 'nibble' the only alternate? —Preceding unsigned comment added by Kp2a (talkcontribs) 16:31, 31 July 2008 (UTC)[reply]

Other characters used

NEC in the NEAC 1103 computer documentation from 1958, uses the term "sexadecimal" and the sequence 0123456789DGHJKV. See the brochure at http://archive.computerhistory.org/resources/text/NEC/NEC.1103.1958102646285.pdf.


"SHOL"

Since several years the International Bureau for the hexadecimal metric system (SMH) proposes a so-called "omni-literal hexadecimal system" (SHOL).

Could someone provide a reference for this? A Google search for "omni-literal hexadecimal system" turned up precisely one link: this article. A search for SHOL hexadecimal turned up this article first, followed by a lot of unrelated things. I also fail to see how the use of arbitrary consonants for the hex digits is "remarkable, logical and consistent"; the paragraph in question ends "See also the external link below", though none of the external links pertains to this representation.

The paragraph was an anonymous contribution, and I am thinking of removing it unless some supporting evidence appears. I'm open to the possibility that these facts are translated from another language, which would explain the lack of Google hits, but if that is the case then we should remove the claim that this system is receiving "growing worldwide attention" and try to put it in proper perspective. If it is an extremely niche-oriented system, as I suspect, it probably shouldn't be mentioned at all, and certainly shouldn't be included in the table of hex representations as though it were widely accepted. -- Wapcaplet 00:38, 12 Dec 2004 (UTC)

  • Edit: Should have looked at the French site. Indeed, the anonymous contributor also provided a link to this rather poorly-designed site, in French (with English also available). It appears to me as though this sytem appears in one publication, by one person (or organization). If it has been accepted elsewhere, perhaps we could leave it in the article. If not, it should go. -- Wapcaplet 00:42, 12 Dec 2004 (UTC)
  • It's my feeling also that it should go or at least be made much less prominent, but I wasn't feeling energetic enough to research its notability. I note that despite its apparently French origin, fr:Système hexadécimal doesn't appear to mention it. -- JTN 11:42, 2004 Dec 12 (UTC)

I think I'll go ahead and remove the SHOL references. If SHOL turns out to be significant, anyone who cares to can pillage the article history and restore it. -- Wapcaplet 17:19, 12 Dec 2004 (UTC)

SHOL proposal & Fractions removal

I think, Wapcaplet, you've acts a little quick. You start a discussion and a few hours later, you erase this very interesting insertion relative to the SHOL. Only one person had time to answer you.

I visited the site of which you deleted the external link. You are right, this is a "rather poorly-designed site". But it's charming and first of all its contents are highly interesting. Unfortunately my French is not perfect, but good enough to understand, that it exposes new things clearly and without blinders. Whoever made it, he should be a great and independent thinker. (Googel ranks this site 5/10, rather good for a young site.)

I think, we should leave the "omni-literal digits" therein. The announcement of this proposal is judicious. This is a "remarkable, logical and consistent proposal". There are many proposals stated on Wikipedia, but this one is up-and-coming. Does someone other want to express his opinion to this topic?

Also your removal of the octal and hexadecimal fractions was as quick as not justified ! At the Octal talk-page you give to understand, that you do not like binary bases and that you prefer the base 12, because "that would be nice considering how common 1/3 is". It's your right to think so! But a page treating the "Base 8" and "Base 16 system" must mention in a few lines its fractions.

-- Paul Martin 03:30, 13 Dec 2004 (UTC)


SHOL doesn't appear to pass the Google test for notability. The added content made a number of unsupported assertions ("growing worldwide attention", "logical and consistent", "official" this and that) and the evidence for even its existence appears to be only one website (other than Wikipedia). It looks an awful lot like a one-person crusade; Wikipedia is not the place to drum up support. Maybe it could come back if evidence were to be found that someone other than "Michael Florencetime" does anything with it. -- JTN 11:30, 2004 Dec 13 (UTC)


  • The English version of the SHOL site does not appear to me to reveal anything particularly interesting, aside from a few numerological relationships. I am very skeptical of any publication (web or otherwise) that purports to describe some new "universal" measurement that is somehow better than our other measurement systems and should replace them. That the system is hexadecimal in nature doesn't justify extended inclusion in this article; an existing external link is a site campaigning to use hexadecimal timekeeping, but it would be inappropriate to talk about the merits and flaws of that system in this article also. We can't include comments on every oddball interpretation of the hexadecimal system here; the article should primarily cover the dominant usage, with perhaps a small section on these alternative interpretations.
  • On the fraction issue: I believe you mis-read the discussion on Talk:Octal; I did not express any disdain for binary (on the contrary, I quite like it). Another user noted the commonplace nature of 1/3. My reason for removing the fractions is that their inclusion seems rather arbitrary and incomplete (why only consider fractions with a numerator "1"? Why include division without including addition, subtraction, and multiplication?) and, for the most part, unrelated to understanding why octal and hexadecimal are useful. The inclusion seems especially odd considering that neither system is very well-suited to working with them.
  • You say that we must mention fractions in a few lines for these systems. Why fractions, and not, say, square roots, powers, or primes? I think we should concentrate on the techniques that are actually useful in these systems, particularly the ways they are useful in computer science (and in their relationship to the binary numeral system). I would not be opposed to having discussion of fractions, as long as it's part of a more thorough mathematical treatment. -- Wapcaplet 20:37, 14 Dec 2004 (UTC)


It is obvious that this article "hexadecimal" is not the place to explain hexadecimal timekeeping and its differences (16 H/d or 2×16 H/d?). Concerning the SHOL proposal, let's deepen later.

On the fraction issue: "Why include division without including addition, subtraction, and multiplication?" Because all these operations are delivering integer results (sometimes perhaps negative integers). A basic multiplication table might be interesting, but at present is not top-urgent.

The binary system and the hexadecimal system is quite the same. (Octal is an obsolete system with several disadvantages, whereon – here – I'll not dwell on.) You know as me, that in informatics, values always have "data types": signed byte, unsigned word, signed doubleword etc. That's the raison why many pocket calculators parse integers in hexadecimal divisions and neglect the fraction part. Therefore many persons – even some computer scientists think – hexadecimal fractions don't exist. They are at fault! Understanding the binary (or hexadecimal) floating point format helps to comprehend why. For abolishing implicitly this misapprehension, the presence of hexadecimal fractions in this article is essential.

Recurring fraction parts are not a problem, quite the contrary, are an advantage. (Short and finite fraction parts are certainly still better.) But the advantage of an identified recurring rule is, that your number is a number exact and not a rounded one. 1/3 showed as 0.3, where is the problem? As we know 1/6 = 0.16 in decimal, we will learn that's also 0x0.2A. It's easy to memorise. 1/3 = 0x0.5 since 5×3 = 0xF. Surely, even in decimal, not many individuals know that 1/7 is 0.142857. But for 1/0x5 and 1/0xA, no problems: Equal 0x0.3 and 0x0.19 respectively. You see, hexadecimal system is as "well-suited" as the decimal one. (Excepting the ugly mixed-digits and the need of the prefix "0x".)

"Why only consider fractions with a numerator "1"?" You are right. Perhaps someone makes another pretty table, not too large, including values like 2/3, 3/4 or 4/5. But this are only additions of the existing fractions.

"Square, roots, powers, or primes?". I don't like long useless listings. Hexadecimal calculators exist. Prime numbers are independent of bases! But some constants (pi or e) and often used values like square root of two, perhaps one day, can be mention.

"...as long as it's part of a more thorough mathematical treatment." Except the "bitwise logical operations" in limited "data types", there is no difference between hexadecimal and decimal arithmetic. Simply we forgot to swot our hexadecimal multiplication tables.

What do you think of?

Finally, it's true, I "mis-read". Another user wrote it. I wonder: You, contributing to "programming languages" etc. preferring "Base 12"? (Though, it's not a "bad base", but future belongs to hexadecimal. Also ancient weights and measures are often multiplied or divided by 8 or 16.) Excuse me for the mistake.

-- Paul Martin 14:26, 15 Dec 2004 (UTC)


"If at first, an idea doesn't seem crazy, then there is no hope for it." Albert Einstein.

Hi, it's me the "oddball". (I take it with humour.) Paul Martin informed me by email with a link up to here. I studied the history... and nice to find you here discussing my SHOL proposal.

But stop! – Before we can begin any discussion, it's absolutely necessary, that either you support your term "numerological" by any quotation you want or'But stop! – Before we can begin any discussion, it's absolutely necessary, that either you support your term "numerological" by any quotation you want or you will retake it very formally.

-- Michael Florencetime 16:40, 17 Dec 2004 (UTC)


Before I respond, keep in mind that I am basing my reaction on the English-translated portion of your site only, since I do not know French. I used the term "numerological" because of the way in which the hexadecimal system of length is derived. If I understand correctly, these measurements (league, stade, chain, aune, etc.) are wholly derived from Earth's circumference, using various divisions by four or powers of 16. It appears that the reader is expected to perceive some cosmic order in these measurements, when their only real relationship is to the Earth's circumference (a figure that can only really be measured to within several kilometers, and which is rather fuzzy by virtue of the fact that the polar circumference is some 70 km less than the equatorial circumference). That the hexadecimal length system has an internally logical organization of units has little bearing on whether the system could be useful or practical. The metric system may appear equally arbitrary, but at least some of its units are based on natural phenomena.

However, those issues are beside the point; the contention here is whether SHOL should be included at any length in this article. Has this proposal been adopted by any standards organization, or is it being used in a practical way by a significant number of people (say, more than 10)? Is there any publication, aside from your website, that describes the system and its applications? If not, I'm sorry, but I just don't see a place for it here. -- Wapcaplet 07:27, 18 Dec 2004 (UTC)


Thanks Wapcaplet for replying. I will soon answer you. -- Michael Florencetime 11:48, 20 Dec 2004 (UTC)



Nice edit by Plugwash; that old definition is certainly better than mine was. Sorry, I didn't dig enough into the history to find it. Poweroid 18:33, 21 September 2005 (UTC)[reply]

Generally if you see an otherwise good article with a missing intro it means that there has been vandalism in the past and it somehow slipped under the radar. Wikipedias watchlist system is unfortunately very good at letting vandalism get covered up :( Plugwash 14:36, 16 January 2007 (UTC)[reply]

Errors in the multiplication table

Error in the hexadecimal multiplication table. D x 7 does not equal 4B, it should read 5B. Also 5 x 6 = 1E, not 2E - M.S. 7th March 2006

Yes, it was wrong, so I uploaded a screenshot of one of my own pages to replace it. MathsIsFun 23:23, 21 May 2006 (UTC)[reply]

Counting hexadecimal on the fingers.

I've noticed that it is possible to count hex on the fingers. You can use the thumb to count the fingertips and joints of the other four fingers of one hand. With two hands you could count base 32 or even 256. Linguofreak 02:13, 19 March 2006 (UTC)[reply]

Indeed:

You confuted the last argument, that seemed to speak for the decimal system : )

Greetings, Hexadecimal (talk) 17:32, 28 February 2008 (UTC)[reply]

Humour

In the humour section is the sentence: "With that last H it becomes possible to write new words and sentences, such as for example 1517ADEADB17CH." As it clearly implies "bitch" i feel this is inappropriate for wikipedia. Any thoughts?

I think it is very important to let humourous details like this one stay. It is a real life example, and I've seen much worse use of nasty words without reason here, than that one. --Bufdaemon

Forget the word itself, it is a nasty, not funny, phrase that portrays male techies in a really poor light. You really don't want to perpetuate that image, do you?Trishm 09:49, 10 February 2007 (UTC)[reply]

Conversion vs. Representation

Hexadecimal is just a way to represent a number. This article seems to have a significant bias toward indicating that a number is somehow different in different representations and needs to be converted.

I think it should be made extremely obvious that hexadecimal is one way to represent a number, and the representation can be converted to other representations. I've removed the section that describes computer converting a number to binary and hexadecimal.

-- Lakin 23:15, 3 June 2006 (UTC)[reply]


But WHY?

The article does nothing to explain why the hexadecimal system was invented, or why it sees so much use in computer science. Can someone address this please? What is the point of using a base-16 system?

Computers use binary. Converting from a binary representation to hexadecimal representation is much simplier than converting from binary to decimal. This is performed rather quickly in your head by grouping 4-bit numbers in longer binary representations, and converting each 4-bit group to a hexadecimal digit. For example:
Representation Description
0010100100010101 16-bit binary number representation
0010 | 1001 | 0001 | 0101 16-bit binary number representation grouped in 4-bit groups
2 | 9 | 1 | 5 Converting 4 bit binary groups to 1 hexadecimal "digit"
0x2915 Hex value after conversion

With time, it becomes simple to convert from a 4-bit binary representation to a 1-hexadecimal "digit" representation. 199.62.0.252

Verbal hexadecimal "Ax...Fx" pronunciation system?

I've never heard of this, and a quick search turns up no other descriptions of this system (eg. Pronouncing the hex digit “A” as “aye-ecks”). Unless this is actually in use significant use somewhere, the section would be identified as a proposal, rare or just deleted. Rwessel 00:05, 10 November 2006 (UTC)[reply]

I'm not an expert, but I didn't encounter it in a basic undergrad education in Computers. That and the info in question seems to have been added by an unregistered user (01:54, 12 October 2006 168.61.10.151 if you want to look it up in the history), and it pre-dated the rest of the content. It's probably been left in place just out of habit, when I'd guess it was just one person's opinion. A tentative second from me(pending, ofc, a good source for the info). At the least, we should probably make the section smaller, a mention rather than an in-depth explanation. --Spyforthemoon 20:07, 13 November 2006 (UTC)[reply]

Order of Sections

I rearranged the sections to try to group into logical areas (math, representations, &c...) I'm probably going to be combing through things more finely in the next few days, but wanted to get any opinions on this change first.

Particularly, is the Converting from other bases section unique from any other base-to-base conversion? If not, shouldn't we just point back to the Radix#Conversion_among_bases section? I agree that the Mapping to binary is importantly unique, but the general case doesn't seem to be. The subsections in Converting from other bases also seem to be unnecessary repetition of the generic base information. If I don't get any objections, I think that section should be axed. --Spyforthemoon 20:07, 13 November 2006 (UTC)[reply]


I agree, pointing to the common page on radix conversions is a good idea, perhaps leaving on one or two line quick description of converting to/from decimal since that's a specific (and common) case. Unfortunately that page (or at least that section) is terrible. In attempting to present the subject in an extremely simple way, it ends up being almost incomprehensible. The discussion of the relationship to binary is important to keep, IMO. Rwessel 09:36, 14 November 2006 (UTC)[reply]

Colour Chart is copyrighted?

©2007 Jayden Carr appears in the text below the chart. Is this a legitimate claim? - Bevo 21:03, 5 January 2007 (UTC)[reply]

Copyedit

Template:WP LoCE

Unicode

Why has Unicode not separate code points for the Latin letters A-F and the hexadecimal digits A-F? --88.76.251.169 13:34, 21 March 2007 (UTC)[reply]

What an excellent point.

It's a really useful namespace!

I'd like to add to the "Other common uses" section the fact that the possible characters are all visually distinct. Unlike e.g. ASCII, where lower-case-ell and number-one can be easily mistaken for each other, hex digits are all unambiguous. Handy for places where arbitrary (non-heuristic) data must be entered into a computer -- it's larger than binary (so more can be encoded in less space) but with no namespace collision (to help humans). A nice example of this is encoding Ethernet MAC addresses or 802.11 security tokens in hex. —The preceding unsigned comment was added by Alephant (talkcontribs).

I have unprotected the article, feel free to expand it. -- ReyBrujo 15:41, 6 May 2007 (UTC)[reply]


Original use of hexadecimal

The article states that hexadecimal using U-Z for the additional digits originated in 1956. It was actually in use before that. The earliest use that I'm aware of was on the SWAC computer, which used hexadecimal (with letters U-Z) in 1950. It had a 36-bit word (plus sign and breakpoint bits)used to hold 4 8-bit addresses (it had 256 words of memory) and a 4-bit op code.

--69.181.81.27 06:14, 12 July 2007 (UTC)[reply]


"Strain" Hex Pronunciation System?

While it's claimed to be "A new and fast growing way of pronouncing HEX numbers," I've not heard of it, and a few quick searches produce no relevant hits. Unless this is actually in use significant use somewhere, the section would be identified as a proposal, rare or just deleted. Rwessel 06:21, 8 August 2007 (UTC)[reply]

I agree. It should be deleted. mimithebrain 18:39, 5 September 2007 (UTC)[reply]

C family notation

"The leading 0 is used so that the parser can simply recognize a number, and the x stands for hexadecimal (cf. o for Octal and b for Binary)." This seems to suggest that 0x denotes hexadecimal, 0b binary and 0o octal. While the first two are clearly the case, is there any language that prefixes octal numbers with 0o? Our own Octal article only states 0, not 0o. -- Jao 14:15, 2 September 2007 (UTC)[reply]


Haskell, for example, allows 0o (zero-oh) to introduce octal sequences. OTOH, only 0x is valid in C/C++, 0b is less common, and 0o is rare, at best. I have altered the section to reflect that. Rwessel 01:25, 6 September 2007 (UTC)[reply]

The table

As I write this, the article currently has a simple table with the decimal and binary equivalents of the hex numbers 0 through F. A new table was added by an anonymous editor and reverted by Slady, and re-reverted by the anon. Up to that point nobody had given any rationale. I agreed that the old, simpler table was better so I restored it again with a more meaningful edit summary.

The new table uses the hex-subscript notation which has previously been cast out of the article with the comment "This is not place for developing new notations". It also uses the letter L as the digit representing 1 in the binary column, a usage which I find quite bizarre. Some people from the era of manual typewriters might still think l and 1 look alike (although in any decent font they should be distinguishable), but extending that equivalence to the upper-case L is something I've never seen before.

The anonymous editor submitted a defense of the new table at my talk page, which includes some heavy stuff about a tesseract.

Now that I've summarized the action so far, the questions are:

  1. Is the new table preferred by anyone other than its creator?
  2. Is the subscript-hex notation really used in any citable sources, or was it made up by wikipedia editors?
  3. What is the deal with the L's? Seriously.

--tcsetattr (talk / contribs) 20:54, 3 September 2007 (UTC)[reply]

I am the anonymous editor and this is the section I wrote and just deleted at T...´s talk page. My central argumentation is that the nibbles belong to groups that should be made visible:


0hex = 0dec = 0oct 0 0 0 0
1hex = 1dec = 1oct 0 0 0 1
2hex = 2dec = 2oct 0 0 1 0
3hex = 3dec = 3oct 0 0 1 1
4hex = 4dec = 4oct 0 1 0 0
5hex = 5dec = 5oct 0 1 0 1
6hex = 6dec = 6oct 0 1 1 0
7hex = 7dec = 7oct 0 1 1 1
8hex = 8dec = 10oct 1 0 0 0
9hex = 9dec = 11oct 1 0 0 1
Ahex = 10dec = 12oct 1 0 1 0
Bhex = 11dec = 13oct 1 0 1 1
Chex = 12dec = 14oct 1 1 0 0
Dhex = 13dec = 15oct 1 1 0 1
Ehex = 14dec = 16oct 1 1 1 0
Fhex = 15dec = 17oct 1 1 1 1


p AND q F F F T
p AND ¬q F F T F
¬p AND q F T F F
¬p AND ¬q T F F F


p OR q F T T T
p OR ¬q T F T T
¬p OR q T T F T
¬p OR ¬q T T T F


p XOR q T F F T
p XOR ¬q F T T F
¬p XOR q F T T F
¬p XOR ¬q T F F T
The vertex first projection of the Tesseract forms a rhombic dodecahedron, which is the hasse diagram of the partally ordered set of all sixteen nibbles:
The eight nibbles with an odd number of bits form a cube and are marked in silver.
The two double bit pallindromes 0110 and 1001 (compare XOR and NXOR) are projected in the center of the rhombic dodecahedron and are marked in gold.
The other six nibbles with an even number of bits form an octahedron and are marked in bronze.
q F T F T
¬q T F T F


p F F T T
¬p T T F F


false F F F F
true T T T T


Hello Tcsetattr,

what do you concider to be wrong about this table?

The red squares are more intuitive than pure numbers ever could be, especially they make easily visible which nibbles are complements, and also the coloured lines contain information of mathmatical relevance.

The question "what the L´s stand for" is not serious. Binary numbers with an L as one dont need a 2 or bin to be clearly defined.

I expect its the coloured lines that seem strange to you, so I give the explanation in the diagram on the right and in the logic tables above. I dont want to go into group theory, so I trust your intuition and think you will see, that some nibbles are closer related to each other than others.

These groups might be of no importance for you, but in boolean algebras like the set logic they are essential.

There may be a place in wikipedia for your tables (they look good), but it is not this article. This article could refer to and link the article that would have your tables. The colours of the numbers including yellow for 6 and 9 need explaining. I suggest you look through the mathemetics pages to find such a place. There may already be such tables there. Karl 09:07, 5 September 2007 (UTC)[reply]

Searching for material verifying the (0,L) standard I often found the name of Konrad Zuse, so e.g. in his patent application Z391 [[2]] from 1941 this notation is used. In pure mathmatics the L is quite unknown,so formulas like L + L = L0 seem to be not in use, but in informatics it´s quite usual to write 0L0L XOR 00LL = 0LL0 as the following links indicate:

[[3]] [[4]] [[5]] [[6]] [[7]] [[8]] [[9]] [[10]] [[11]] [[12]] [[13]]

Greetings

de:user:Tilman Piesk —Preceding unsigned comment added by 87.123.110.214 (talk) 16:15, 4 September 2007 (UTC)[reply]

I can't help noticing all those .de suffixes. Perhaps the L is common in German sources. This is the English wikipedia though, and here it stands out as weird-looking. In fact if you look at our Binary article, you'll see there is no mention of the L=1 notation, but if you then follow the link to its German equivalent, it is mentioned there. --tcsetattr (talk / contribs) 19:30, 4 September 2007 (UTC)[reply]

Indeed; I also wondered that I found only one english link [[14]] using the L. I thought it´s because I searched with google.de, but it´s not. Well, the L´s are not important, so I change them for the english Wikipedia. The logic tables are now in (F,T) instead of (0,1); I think the white and red squares make sufficiantly clear, that it is mathmatically the same.
What I concider to be important is only to visualise the groups and their connection to the rhombic dodecahedron shaped hasse diagram of the sixteen nibbles poset.

I tried to include a headline like in the other table, because most theoretically its not clear anymore that the right column is binary, but it looks horrible (because it enlarges the table in the width). I hold it to be self explaining, that the right column can be nothing than binary, if not, a short hint should be given in the text. Greetings de:user:Tilman Piesk


This table appears to be back again. I agree that the old table is clearer, although if someone wanted to add an octal column, I wouldn't object.

I also don't see the relevance of the Hasse diagram.

Rwessel (talk) 09:12, 22 November 2007 (UTC)[reply]


Unless someone objects, I will remove the Hasse diagram as irrelevant, at the end of the week. Rwessel (talk) 06:50, 8 January 2008 (UTC)[reply]


The Hasse diagram has returned again. It is, IMO, irrelevant to the subject at hand. The relationship between bit patterns and logic functions is not uninteresting (although its relationship to hexadecimal in particular is marginal and coincidental at best), and should probably get its own page. The author has offered to justify the reintroduction. Rwessel (talk) 09:51, 18 March 2008 (UTC)[reply]


padding and readability

a little padding around the table under the "uses" section may improve readability, but whatever. --Emesee (talk) 23:53, 24 February 2008 (UTC)[reply]

Hidden comment in article body that should have been posted here

Regarding the following text in the article: "In typeset text, hexadecimal is often indicated by a subscripted suffix such as 5A316, 5A3SIXTEEN" This comment was appended: "this seems hugely verbose and i can't say i've ever seen it does anyone here a source?" by: Plugwash 23:13, 10 July 2005 (UTC).

No History Section?

There is a history of usage of base 16 that predates the twentieth century - it would be good to record some of it.

For instance, many Tibetans count on their fingers using base 16 notation (typically using the tip of the thumb as a marker, counting off the joints and tips of each finger from the base of the index finger through to the tip of the little finger, and using the second hand in the same manner for the count of sixteens. For example, the 0xA8 may be represented with the thumb of the left hand on the second (from the palm) joint of the ring finger (10x16), and the thumb of the right hand at the tip of the middle finger (1x8) = 168. Practices differ slightly - some start from the tip rather than the base - and others count the phalanges/ head of metacarpals rather than the joints/tips, though everyone starts at the index finger (1-4) and moves to the little/pinky finger (13-16). Like most finger counting methods, there is no notation for zero. Rarely, monks will use the same methodology, but for counting in decimal only (and ignore half the ring and the entire little/pinky fingers).

I have seen many Tibetan monks from a variety of regions, as far east as Amdo and Kham and as far west as Ladakh, who are familiar with this counting method. I don't know if the usage extends to non-monastics, or if it is known to other cultures in the region. —Preceding unsigned comment added by 81.6.250.44 (talk) 13:10, 17 December 2007 (UTC)[reply]

Intuitor Hex Verbal Representation?

Unless someone else has heard of the Intuitor Hex Verbal Representation system (there's a link in the links section) in some sort of actual usage, I suggest this be deleted. Probably the link should be removed as well. Rwessel (talk) 05:47, 15 January 2008 (UTC)[reply]

I think there is value in the links to advocacy sites (one of which is mine to make biases clear). When I originally became interested in hex systems I used the other (advocacy) links to gain more info. I have a few people each day hit my site from wikipedia, which would indicate some sort of interest. All three of the advocacy sites have no revenue generators (google ads, etc) so I think it's safe to say that wikipedia is not being taken advantage of. (This is not the case for a couple of the hex converter links by the way)

while I understand people labeling florencetime.net as crackpottery, it's a sincere and interesting attempt to unify units under a hexadecimal system. It's not the way I would do it or present it but I think it's a valid link.

Anyway, I added a bit to the article about hexadecimal system advocacy. Not much but all I have time for today. Hopefully it will lend a little context to the advocacy links and vise versa. Hauptmech (talk) 02:19, 24 February 2008 (UTC)[reply]

(by the way...)

I created this userbox: {{User:Hexadecimal/hexadecimal}}

User:Hexadecimal/hexadecimal


Feel free to use it ... Greetings, Hexadecimal (talk) 17:55, 28 February 2008 (UTC)[reply]

Fractions (again)

Are the fractions correct? 0.8h is obviously 1/2, but isn't 0.1h 1/16? Didn't check the other fractions. This needs attention.
217.132.28.10 (talk) 12:41, 1 March 2008 (UTC)[reply]

All the numbers there are hex. You're using a decimal 16 in "1/16". Check the others and that would be clear, since 1/A through 1/F are in the list. --tcsetattr (talk / contribs) 20:13, 1 March 2008 (UTC)[reply]

Overhaul

I boldly cleaned up the article, particularly the lead and leading sections. I realize that might be stepping on some toes, but hopefully only little toes. It looked like the article suffered from layer after layer of edits focused on clarifying or making more precise a small passage without regard to the overall flow and organization. Alas, I ran out of steam near the end and might have made a couple items worse. Glancing back at it, I see that the various computer language examples aren't set off against additional explanation very well. Maybe that should be made into a table?

Also, there seemed to be several passages which considered a particular point of view to be universal. Hopefully that is remedied. And what was with the sentences that said there have been movements for X, but X hasn't done too well. That's like saying it's not notable, isn't it? —EncMstr 09:15, 19 March 2008 (UTC)[reply]

Verbal representations - Lojban

I don't think Lojban (an artificial language with a population of users described as "The current number of Lojban speakers, although indeterminable, is much lower than for Esperanto.") is significant enough to reference in this way, except, perhaps, in a trivia section. So unless there are any objects I will revert this addition in a week or so. Rwessel (talk) 19:37, 13 May 2008 (UTC)[reply]

Greek/Latin

"The word "hexadecimal" is strange in that hexa is derived from the Greek έξ (hex) for "six" and decimal is derived from the Latin for "tenth". It may have been derived from the Latin root, but Greek deka is so similar to the Latin decem that some would not consider this nomenclature inconsistent." I'm confused. 75.118.170.35 (talk) 13:03, 2 August 2008 (UTC)[reply]

Where did 0x come from?

0x, 0b, 0o, 0 etc. What's the history of these symbols? 71.167.73.243 (talk) 04:32, 28 August 2008 (UTC)[reply]

Difference between 0x08F79152 and just plain 08F79152?

I just wanted to know, what the difference is between the two.

0x08F79152 and 08F79152.