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

  1. Newsgroups: comp.arch
  2. Path: sparky!dsndata!backbone!backbone!wayne
  3. From: wayne@backbone.uucp (Wayne Schlitt)
  4. Subject: Re: A better theory for Endian origins
  5. In-Reply-To: jones@pyrite.cs.uiowa.edu's message of Fri, 8 Jan 1993 18: 54:48 GMT
  6. Message-ID: <WAYNE.93Jan8192504@backbone.uucp>
  7. Sender: wayne@backbone (Wayne Schlitt)
  8. Organization: The Backbone Cabal
  9. References: <1ikepuINNgt7@spim.mti.sgi.com> <1993Jan8.185448.2405@news.uiowa.edu>
  10. Date: Sat, 9 Jan 1993 01:25:04 GMT
  11.  
  12. In article <1993Jan8.185448.2405@news.uiowa.edu> jones@pyrite.cs.uiowa.edu (Douglas W. Jones,201H MLH,3193350740,3193382879) writes:
  13.  
  14. >    Another is to think of the formula for the value of a binary number:
  15. >   V = Sum( b[i]*2**i )
  16. > To make this work for integers, you've got to number the bits as:
  17. >   ... 3 2 1 0
  18.  
  19. It seems to me that it the formula would work just fine as long as the
  20. order of the bits corresponds with the order of subscripting.  if you
  21. subscript starting at the left, then you could order the bits like
  22. this:
  23.  
  24. 0 1 2 3 4 ... 
  25.  
  26. with the most significant bit on the right.  This doesn't correspond
  27. with the way that people write numbers, but so what?  It still works
  28. just fine.
  29.  
  30.  
  31. -wayne
  32.  
  33.