Article View: comp.std.c
Article #3872Re: Why "long long" doesn't work.
From: Andries Brouwer
Date: Sat, 26 Aug 1995 23:01
Date: Sat, 26 Aug 1995 23:01
21 lines
1285 bytes
1285 bytes
A.Main@dcs.warwick.ac.uk (Zefram) writes: : Andries Brouwer <aeb@cwi.nl> wrote: :: Do you use arithmetic on IPv6 addresses?) : Yes. Generally bitwise and/or/xor, so it's not all that inconvenient : to use an array of char/short/int/long, but there's the problem: which : is more efficient? If a processor has native instructions to perform : these operations on 64 bit values, ... :: There is no need to have integral types that are required to have :: more than 64 bits. Maybe you overlooked the word `required'? Of course, if a processor handles 64-bit values especially well, such values will probably be used as shorts or ints or longs (or long longs) by the native C compiler. : "640K ought to be enough for anyone." Try counting to 2^64, and come back when you finish.
Technical Details
Message-ID:
<aeb.809478061@news.cwi.nl>Path:
arc1-ca.pugleaf.net!news.cwi.nl!aebReferences:
<PZBOwQ9ytN2I084yn@csn.net> <3bsOwQ9ytdOV084yn@csn.net> <41hoed$njf@nyx10.cs.du.edu> <aeb.809273431@news.cwi.nl> <1995Aug25.222848.12770@dcs.warwick.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!news.cwi.nl!aeb From: aeb@cwi.nl (Andries Brouwer) Subject: Re: Why "long long" doesn't work. Message-ID: <aeb.809478061@news.cwi.nl> Sender: news@cwi.nl (The Daily Dross) Nntp-Posting-Host: papegaai.cwi.nl Organization: CWI, Amsterdam References: <PZBOwQ9ytN2I084yn@csn.net> <3bsOwQ9ytdOV084yn@csn.net> <41hoed$njf@nyx10.cs.du.edu> <aeb.809273431@news.cwi.nl> <1995Aug25.222848.12770@dcs.warwick.ac.uk> Date: Sat, 26 Aug 1995 23:01:01 GMT