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

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!pipex!ibmpcug!impmh!dsg
  3. From: dsg@impmh.uucp (Dave Gordon)
  4. Subject: Re: big + little endian (was: Comparison of Alpha, MIPS ..)
  5. Message-ID: <1993Jan11.170917.7216@impmh.uucp>
  6. Organization: Integrated Micro Products Ltd
  7. References: <1992Dec29.044012.1@cc.curtin.edu.au> <3623363@zl2tnm.gen.nz>     <WAYNE.92Dec30093950@backbone.uucp>     <markg.79.726169747@county.lmt.mn.org> <1993Jan6.171242.2895@lsl.co.uk> <RABIN.93Jan7132015@nuthatch.CS.Yale.Edu>
  8. Date: Mon, 11 Jan 1993 17:09:17 GMT
  9. Lines: 36
  10.  
  11. In <RABIN.93Jan7132015@nuthatch.CS.Yale.Edu> rabin@CS.Yale.Edu (Dan Rabin) writes:
  12.  
  13. >According to a book I have read that explains the Arabic alphabet,
  14. >numerals in Arabic documents are written most-significant-digit
  15. >leftmost, whereas the text itself is written from right to left.
  16. >Hence the native reader encounters the least-significant digit first
  17. >in his or her accustomed reading order.  There's no reason to believe
  18. >that Arabic-speaking arithmetic has suffered as a result.
  19. >
  20. > [...]
  21. >
  22. >  -- Dan Rabin (rabin-dan@cs.yale.edu)
  23.  
  24. I believe that in Arabic and Hebrew (both read right to left),
  25. numbers are also spoken least-significant-digit first e.g. 345
  26. is read as five-and-four-tens-and-three-hundreds.
  27.  
  28. So their system is completely consistent, *and* doesn't require
  29. pre-scanning the number to find which radix power to start at.
  30. The disadvantage, of course, is that you don't know the magnitude
  31. of the number until the very end of the reading process.
  32.  
  33. [Imagine a phone call from your accountant in Arabic or Hebrew ...
  34. Accountant:    You have made pretax profits of $hekels three and forty
  35.         and six hundred and nine thousand.
  36. You:        Good!
  37. Accountant:    And your tax liability is $hekels nine and thirty and
  38.         four hundred ...
  39. You:        Excellent!
  40. Accountant:    ... and eight thousand!
  41. -- 
  42.  
  43. ===============================================================================
  44. Dave | dsg@imp.co.uk | +44 753 516599 | I am not a .sig virus, I am a free bug!
  45. ===============================================================================
  46.  
  47.