[comp.lang.c] long long

hays@iSC.intel.com (Kirk Hays) (06/04/91)

[Cast thy bread upon the waters...]

I am looking for prior art in the consistent implementation of the "long long"
data type.

In our compiler, we currently support the following types and sizes:

char - 8 bits
short - 16 bits
int - 32 bits
long - 32 bits

we want to add:

long long - 64 bits.

I am looking for companies that have already added "long long" to their
datatypes, and their solutions to:

- suffixes for constants
- format designator(s) for *printf and *scanf families

Any citation is interesting.  If you have opinions, objections, etc., mail to me
and I will summarize if there is sufficient interest.

-- 
Kirk Hays - NRA Life. (hays@ssd.intel.com)

mcdaniel@adi.com (Tim McDaniel) (06/05/91)

Why not make 'long' 64 bits?

--
   "Of course he has a knife; he always has a knife.  We all have knives.
   It's 1183 and we're barbarians."
Tim McDaniel                 Applied Dynamics Int'l.; Ann Arbor, Michigan, USA
Internet: mcdaniel@adi.com                UUCP: {uunet,sharkey}!amara!mcdaniel