Time for 64-bit longs?
ed at mtxinu.UUCP
ed at mtxinu.UUCP
Fri Jan 30 03:46:33 AEST 1987
>Has anyone bit the bullet and gone to 64-bit longs? I know Convex
>has a monstrosity called a "long long" that's 64 bits; they leave
>long as 32 bits, the same as int, apparently because it was too hard
>to change all the Berkeley code that assumes long == int. But it
>seems the Vax architecture will soon require a 64-bit type at the
>high end.
The problem is not that the VAX code assumes int == long (it often
does make that assumption, but those are bugs) but that C defines
only two sizes of integer: long and short. Int may be either,
depending on the implementation, but it must be one or the other.
Other people have used the "long long" hack, too.
--
Ed Gould mt Xinu, 2560 Ninth St., Berkeley, CA 94710 USA
{ucbvax,decvax}!mtxinu!ed +1 415 644 0146
"A man of quality is not threatened by a woman of equality."
More information about the Comp.unix.wizards
mailing list