home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / arch / 12249 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.6 KB  |  63 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!oakhill!diaz
  3. From: diaz@oakhill.sps.mot.com (Rafael Diaz)
  4. Subject: Re: big + little endian (was: Comparison of Alpha, MIPS ..)
  5. Message-ID: <1993Jan12.200833.17508@oakhill.sps.mot.com>
  6. Organization: Motorola Inc., Austin Tx.
  7. References: <RABIN.93Jan7132015@nuthatch.CS.Yale.Edu> <1993Jan11.170917.7216@impmh.uucp>
  8. Date: Tue, 12 Jan 1993 20:08:33 GMT
  9. Lines: 52
  10.  
  11. In article <1993Jan11.170917.7216@impmh.uucp> dsg@impmh.uucp (Dave Gordon) writes:
  12. >In <RABIN.93Jan7132015@nuthatch.CS.Yale.Edu> rabin@CS.Yale.Edu (Dan Rabin) writes:
  13. >
  14. >>According to a book I have read that explains the Arabic alphabet,
  15. >>numerals in Arabic documents are written most-significant-digit
  16. >>leftmost, whereas the text itself is written from right to left.
  17. >>Hence the native reader encounters the least-significant digit first
  18. >>in his or her accustomed reading order.  There's no reason to believe
  19. >>that Arabic-speaking arithmetic has suffered as a result.
  20. >>
  21. >> [...]
  22. >>
  23. >>  -- Dan Rabin (rabin-dan@cs.yale.edu)
  24. >
  25. >I believe that in Arabic and Hebrew (both read right to left),
  26. >numbers are also spoken least-significant-digit first e.g. 345
  27. >is read as five-and-four-tens-and-three-hundreds.
  28. >
  29. >So their system is completely consistent, *and* doesn't require
  30. >pre-scanning the number to find which radix power to start at.
  31. >The disadvantage, of course, is that you don't know the magnitude
  32. >of the number until the very end of the reading process.
  33. >
  34. >[Imagine a phone call from your accountant in Arabic or Hebrew ...
  35. >Accountant:    You have made pretax profits of $hekels three and forty
  36. >        and six hundred and nine thousand.
  37. >You:        Good!
  38. >Accountant:    And your tax liability is $hekels nine and thirty and
  39. >        four hundred ...
  40. >You:        Excellent!
  41. >Accountant:    ... and eight thousand!
  42. >-- 
  43. >Dave | dsg@imp.co.uk | +44 753 516599 | I am not a .sig virus, I am a free bug!
  44.  
  45. CORRECTION:
  46.  
  47. Hebrew numerals are WRITTEN and SPOKEN the same as in English. Although
  48. the text is going right to left. A simple scan will have to encounter a
  49. number, and reconstruct it left to right. The same can be apllied to
  50. Arabic.
  51.  
  52. In Hebrew when you pronounce e.g. 345, it will go 'three-hundred-fourty-five'
  53. (Heb. shelosh meot, arbaim vechamesh). In Arabic it will be pronounced:
  54. 'three-hundred-five-and-fourty'! (Arb. tlata me'a, chamsa waarbaim).
  55. Now this is confusing.
  56.  
  57. --Rafy
  58. -- 
  59. ________________________________________________________________________
  60.                __        _    
  61.   =_   __   ___    =  /  )      / )   ==========   diaz@sigi.sps.mot.com
  62.  =  ) /_ )     )  =  /--<  _  -/-     == oakhill!sigi!diaz@cs.utexas.edu
  63.