Article View: comp.sys.powerpc
Article #3136Re: Debate: PowerMac "trounces" Pentium....???
From: Nevin ":-]" Liber
Date: Tue, 20 Feb 1996 03:44
Date: Tue, 20 Feb 1996 03:44
15 lines
1402 bytes
1402 bytes
In article <kevinbDMv1Br.2C1@netcom.com>, kevin@frobozz.sccsi.com (Kevin
Brown) wrote:
> You've got to be kidding. This is kiddie stuff...
> In case you were wondering, the magic "241 / 100" in the BUFLEN
> expression comes from log(256), which is the number of base-10 digits
> required to represent a single byte.
Sorry Kevin, but a "byte" under ANSI C is *not* guaranteed to be 8 bits.
For a bunch of people (Dan Pop, yourself, etc.) claiming that it is
trivial to write portable ANSI C code, you are certainly having a very
tough time getting this code correct.
--
Nevin ":-)" Liber nevin@CS.Arizona.EDU (520) 293-2799
Technical Details
Message-ID:
<nevin-1902962045260001@150.135.1.79>Path:
arc1-ca.pugleaf.net!CS.Arizona.EDU!NewsWatcher!userReferences:
<nevin-0602962253080001@150.135.1.79> <nevin-1202960529130001@150.135.1.79> <9602121654.AA02634@ues5.cern.ch> <4fqdta$rhh@meaddata.lexis-nexis.com> <kevinbDMv1Br.2C1@netcom.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!CS.Arizona.EDU!NewsWatcher!user From: nevin@CS.Arizona.EDU (Nevin ":-]" Liber) Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel Subject: Re: Debate: PowerMac "trounces" Pentium....??? Date: Mon, 19 Feb 1996 20:44:46 -0700 Organization: University of Arizona CS Department, Tucson "It's too dang hot!" Arizona Message-ID: <nevin-1902962045260001@150.135.1.79> References: <nevin-0602962253080001@150.135.1.79> <nevin-1202960529130001@150.135.1.79> <9602121654.AA02634@ues5.cern.ch> <4fqdta$rhh@meaddata.lexis-nexis.com> <kevinbDMv1Br.2C1@netcom.com> NNTP-Posting-Host: mac-nevin.cs.arizona.edu X-Newsreader: Yet Another NewsWatcher 2.2.0b4