| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: [C] word sizes (fwd) |
From: Bob Stout Oops, hit the wrong reply button... ------------------------------------------------------------- Consulting: http://www.MicroFirm.biz/ Web graphics development: http://Image-Magicians.com/ Software archives: http://snippets.snippets.org/ c.snippets.org/ cpp.snippets.org/ java.snippets.org/ d.snippets.org/ python.snippets.org/ perl.snippets.org/ dos.snippets.org/ embedded.snippets.org/ apps.snippets.org/ Audio and loudspeaker design: http://LDSG.snippets.org/ http://www.diyspeakers.net/ ---------- Forwarded message ---------- Date: Sun, 16 Nov 2003 23:08:56 -0600 (CST) From: Bob Stout To: Jerry Coffin Subject: Re: [C] word sizes On Sun, 16 Nov 2003, Jerry Coffin wrote: > Actually, there's a pretty fair argument that on a 64-bit machine, it's > reasonable to use: > > type bits > char 8 > short 16 > int 32 > long 64 > > but it's more or less irrelevant -- regardless of how reasonable it > might have been, the only compiler I know of that did this was DEC's for > the now-moribund Alpha. As compiler vendors catch up with the 1999 standard, 64-bit values will more properly be represented as long longs. At least, until 128-bit architectures become commonplace, then your suggestion will work, reserving long long for 128-bit values. > Quite true -- in fact at one point on comp.lang.c.moderated, there was a > rather protracted discussion of whether there was enough there to > interpret it as a requirement of the standard, or perhaps a defect in > the standard that it was basically contradictory. I wish I still had the time to hang around c.l.c.m., but I have too many conflicting commitments. Plus I'm well into fogeydom, so I don't have the same resources to apply to it I once had. :-( ------------------------------------------------------------- Consulting: http://www.MicroFirm.biz/ Web graphics development: http://Image-Magicians.com/ Software archives: http://snippets.snippets.org/ c.snippets.org/ cpp.snippets.org/ java.snippets.org/ d.snippets.org/ python.snippets.org/ perl.snippets.org/ dos.snippets.org/ embedded.snippets.org/ apps.snippets.org/ Audio and loudspeaker design: http://LDSG.snippets.org/ http://www.diyspeakers.net/ --- BBBS/LiI v4.01 Flag-5* Origin: Prism bbs (1:261/38) SEEN-BY: 633/267 270 @PATH: 261/38 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.