Article View: comp.arch
Article #12564Re: big + little endian (was: Comparison of Alpha, MIPS ..)
From: Rafael Diaz
Date: Tue, 12 Jan 1993 20:08
Date: Tue, 12 Jan 1993 20:08
52 lines
2744 bytes
2744 bytes
In article <1993Jan11.170917.7216@impmh.uucp> dsg@impmh.uucp (Dave Gordon) writes: >In <RABIN.93Jan7132015@nuthatch.CS.Yale.Edu> rabin@CS.Yale.Edu (Dan Rabin) writes: > >>According to a book I have read that explains the Arabic alphabet, >>numerals in Arabic documents are written most-significant-digit >>leftmost, whereas the text itself is written from right to left. >>Hence the native reader encounters the least-significant digit first >>in his or her accustomed reading order. There's no reason to believe >>that Arabic-speaking arithmetic has suffered as a result. >> >> [...] >> >> -- Dan Rabin (rabin-dan@cs.yale.edu) > >I believe that in Arabic and Hebrew (both read right to left), >numbers are also spoken least-significant-digit first e.g. 345 >is read as five-and-four-tens-and-three-hundreds. > >So their system is completely consistent, *and* doesn't require >pre-scanning the number to find which radix power to start at. >The disadvantage, of course, is that you don't know the magnitude >of the number until the very end of the reading process. > >[Imagine a phone call from your accountant in Arabic or Hebrew ... >Accountant: You have made pretax profits of $hekels three and forty > and six hundred and nine thousand. >You: Good! >Accountant: And your tax liability is $hekels nine and thirty and > four hundred ... >You: Excellent! >Accountant: ... and eight thousand! >-- >Dave | dsg@imp.co.uk | +44 753 516599 | I am not a .sig virus, I am a free bug! CORRECTION: Hebrew numerals are WRITTEN and SPOKEN the same as in English. Although the text is going right to left. A simple scan will have to encounter a number, and reconstruct it left to right. The same can be apllied to Arabic. In Hebrew when you pronounce e.g. 345, it will go 'three-hundred-fourty-five' (Heb. shelosh meot, arbaim vechamesh). In Arabic it will be pronounced: 'three-hundred-five-and-fourty'! (Arb. tlata me'a, chamsa waarbaim). Now this is confusing. --Rafy -- ________________________________________________________________________ __ _ =_ __ ___ = / ) / ) ========== diaz@sigi.sps.mot.com = ) /_ ) ) = /--< _ -/- == oakhill!sigi!diaz@cs.utexas.edu
Technical Details
Message-ID:
<1993Jan12.200833.17508@oakhill.sps.mot.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!oakhill!diazReferences:
<RABIN.93Jan7132015@nuthatch.CS.Yale.Edu> <1993Jan11.170917.7216@impmh.uucp>Show Full Headers
Complete Article Headers
Newsgroups: comp.arch Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!oakhill!diaz From: diaz@oakhill.sps.mot.com (Rafael Diaz) Subject: Re: big + little endian (was: Comparison of Alpha, MIPS ..) Message-ID: <1993Jan12.200833.17508@oakhill.sps.mot.com> Organization: Motorola Inc., Austin Tx. References: <RABIN.93Jan7132015@nuthatch.CS.Yale.Edu> <1993Jan11.170917.7216@impmh.uucp> Date: Tue, 12 Jan 1993 20:08:33 GMT Lines: 52