Ask HN: Why is the number of greatest magnitude on the left?
There's a lot of people knowledgeable 'bout math here so I thought I'd ask. Is their any reason when writing base-whatever numbers that the number of greatest magnitude's on the left and the number of least magnitude's on the right?
Since English is read and written left-to-right, it seems like it'd be more intuitive to do it the other way.
I was thinking it might be a hold-over from the Arabic language.
31 comments
[ 4.6 ms ] story [ 65.5 ms ] threadM = 1000
D = 500
C = 100
L = 50
IX = 10 - 1
So I doubt it is strictly an arabic holdover.
But as a counter argument to your statement that it would be more intuitive the other way given the way english is read, consider that you want the largest magnitude digit first since it contains more information about the number than the rest of the digits.
"Next month, I'll be out of town from the 15th to the 20th," contains a month (and implicit year), followed by the day. You'd be less likely to hear "I'll be out of town from the 15th to the 20th of September this year."
I'm also one of the crazy ones who always use a 24 hour clock. IMO, 1730 is much easier to say than 5:30 PM. Also, it's fairly unambiguous when you're dealing with someone on the other side of the globe.
Left to right numbers are so inconvenient in Arabic that I expect it's something they copied from Hindu numbers, which were the original source.
English does it as well by the way: thir-teen, four-teen, fif-teen, six-teen etc. After twenty it gets more regular.
For a really interesting one look at Frech saying 89: quatre-vingt neuf
Four times twenty + 9
English equivalent: four-score and nine.
Our decimal notation...was developed first in India within the Hindu culture...The earliest known Hindu manuscripts that show decimal notation have numbers written backwards (with the most significant digit at the right), but soon it became standard to put the most significant digit on the left."
[later] "It is interesting to note that the left-to-right order of writing numbers was unchanged during [translation from Hindu to Arabic to Latin], although Arabic is written from right to left while Hindu and Latin scholars generally wrote from left to right. A detailed account of the subsequent propagation of decimal numeration and arithmetic into all parts of Europe during the period 1200-1600 has been given by David Eugene Smith in his History of Mathematics I, chapters 6 and 8."
Written your way, you'd have glance to the end to tell the most important digit, then work your way backwards along the digits of significance, then jump back to the text.
Human language is pretty sensitive to this sort of consideration, all things considered. It looks chaotic but there's a lot of order to it, usually, under the hood.
How is it more intuitive to write 3-20 when you mean twenty-three?
"when you mean"??? This is just how you grew up, it has no bearing what what is more or less intuitive.
I don't know if this explains how it became this way, but it would make sense in explaining why it remains this way.
"Informally, most people are comfortable with non-terminating decimals because it is clear that a real number can be approximated to any required degree of closeness by a terminating decimal adequately expressed for its intended application. If two decimal expansions differ only after the 10th decimal place they are quite close to one another, and if they differ only after the 20th decimal place they are even closer."
"10-adic numbers use a similar non-terminating expansion, but with a different concept of "closeness" (which mathematicians call a metric). Whereas two decimal expansions are close to one another if they differ by a large negative power of 10, two 10-adic expansions are close if they differ by a large positive power of 10. Thus 3333 and 4333 are close in the 10-adic metric, and 33333333 and 43333333 are even closer."