home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / std / c / 2540 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1019 b 

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!lll-winken!sun-barr!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uunet.ca!wildcan!sq!msb
  2. From: msb@sq.sq.com (Mark Brader)
  3. Newsgroups: comp.std.c
  4. Subject: Re: space optimization involving enum
  5. Message-ID: <1992Aug29.232155.14657@sq.sq.com>
  6. Date: 29 Aug 92 23:21:55 GMT
  7. References: <spuler.714711530@coral.cs.jcu.edu.au> <1992Aug25.160905.9177@sq.sq.com> <1992Aug26.222505.7496@sneaky.lonestar.org>
  8. Organization: SoftQuad Inc., Toronto, Canada
  9. Lines: 14
  10.  
  11. > > ... The representation of [decimal] 10000 has to use the bit
  12. > > sequence 10011100010000.  
  13. > As I read it, wrong.  Nothing I see prevents use of 2's complement, 
  14. > 1's complement, or excess-2**(n-1) (the sign bit being reversed from
  15. > 2's complement).
  16.  
  17. These systems are indeed all permissible.  But they also all use the
  18. bit sequence 10011100010000 in the representation of decimal 10000.
  19. -- 
  20. Mark Brader        "Wise wives welcome spring by moving the UNIX"
  21. utzoo!sq!msb, msb@sq.com
  22.  
  23. This article is in the public domain.
  24.