🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1232

Re: space optimization involving enum

#1232
From: Mark Brader
Date: Sat, 29 Aug 1992 23:21
14 lines
1043 bytes
> > ... The representation of [decimal] 10000 has to use the bit
> > sequence 10011100010000.  
> 
> As I read it, wrong.  Nothing I see prevents use of 2's complement, 
> 1's complement, or excess-2**(n-1) (the sign bit being reversed from
> 2's complement).

These systems are indeed all permissible.  But they also all use the
bit sequence 10011100010000 in the representation of decimal 10000.
-- 
Mark Brader		"Wise wives welcome spring by moving the UNIX"
utzoo!sq!msb, msb@sq.com

This article is in the public domain.
Technical Details
Message-ID: <1992Aug29.232155.14657@sq.sq.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!lll-winken!sun-barr!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uunet.ca!wildcan!sq!msb
References: <spuler.714711530@coral.cs.jcu.edu.au> <1992Aug25.160905.9177@sq.sq.com> <1992Aug26.222505.7496@sneaky.lonestar.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!lll-winken!sun-barr!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uunet.ca!wildcan!sq!msb
From: msb@sq.sq.com (Mark Brader)
Newsgroups: comp.std.c
Subject: Re: space optimization involving enum
Message-ID: <1992Aug29.232155.14657@sq.sq.com>
Date: 29 Aug 92 23:21:55 GMT
References: <spuler.714711530@coral.cs.jcu.edu.au> <1992Aug25.160905.9177@sq.sq.com> <1992Aug26.222505.7496@sneaky.lonestar.org>
Organization: SoftQuad Inc., Toronto, Canada
Lines: 14