home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / arch / 12107 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.7 KB

  1. Path: sparky!uunet!mcsun!uknet!lsl!snail
  2. From: snail@lsl.co.uk
  3. Newsgroups: comp.arch
  4. Subject: Re: big + little endian (was: Comparison of Alpha, MIPS ..)
  5. Message-ID: <1993Jan6.171242.2895@lsl.co.uk>
  6. Date: 6 Jan 93 17:12:42 GMT
  7. References: <1992Dec29.044012.1@cc.curtin.edu.au> <3623363@zl2tnm.gen.nz> <WAYNE.92Dec30093950@backbone.uucp> <markg.79.726169747@county.lmt.mn.org>
  8. Organization: Laser-Scan Ltd., Cambridge
  9. Lines: 43
  10.  
  11. In article <markg.79.726169747@county.lmt.mn.org>, markg@county.lmt.mn.org (Mark Gilbert) writes:
  12. > In article <WAYNE.92Dec30093950@backbone.uucp> wayne@backbone.uucp (Wayne Schlitt) writes:
  13. >>From: wayne@backbone.uucp (Wayne Schlitt)
  14. > I have identified the root of this whole big-endian/little-endian debate.  
  15. > The conflict is is between text and numbers.  We read left to right.  But, 
  16. > if you were to number the digits of an integer, you would do it right to 
  17. > left.  The one's digit would be 0, the ten's digit, 1, etc.
  18. > This should never have been the case.  We adopted our number system from the 
  19. > Arabs, and the Arabs read right to left.  For them, the direction of reading 
  20. > text and numbers is CONSISTENT.  The whole problem arose because we failed 
  21. > to reverse the numbering system when we borrowed it from the Arabs.
  22. > I propose that we now correct this historical oversight.  Let us write 
  23. > numbers least significant digit first.  The bang symbol can be used to 
  24. > replace the decimal point, in order to distinguish little-endian numbers 
  25. > from big-endian.  The integer six hundred and fifty four should now be 
  26. > written !456.  Sixteen dollars and twenty five cents is now $ 52!61.
  27.  
  28. You've just proved yourself wrong!
  29.  
  30. The number six-hundred and fifty four is written 6-5-4, left to right, exactly
  31. the way we write. That is, I read that I have 6 hundreds before I'm interested
  32. in finding out how many tens or units I have. Now I may had to scan the number
  33. for length to work out that the 6 refers to hundreds, but that is a separate
  34. operation.
  35.  
  36. The number !456 would be read as 4 and fifty and 6 hundred. If I were to read
  37. that at six hundred and fifty four, I would still have to scan the number to
  38. find the hundreds digit, then the tens then the units and combine this to give
  39. the number six hundred and fifty four.
  40.  
  41. So either way, we must scan the number, just that currently we write the number
  42. the way we say it.
  43.  
  44. Also: surely $16.25 is actually 52!61$ in your scheme?
  45. -- 
  46. snail@lsl.co.uk      
  47.  
  48. "Washing one's hands of the conflict between the powerful and the powerless
  49.  means to side with the powerful, not to be Neutral."
  50.                                                      Quote by Freire.
  51.                                                      Poster by OXFAM.
  52.