[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
In comp.arch.embedded Dave Hansen <dhansen@btree.com> wrote:
> >>refers to the pre-processor.
> >
> >Can't speak for C++, but for C, I think it's in Translation Limits.
> >
> I can't speak for C89, but the latest C9x draft I have (n869) lists
> them in Numerical Limits, Sizes of Integer Types, �5.2.4.1
Ok, I found it in: http://www-cse.ucsd.edu/users/kube/stdc/types.html
minimum range for a long is (-2^31, 2^31). They don't force you to use
2's complement but you do need 32 bits. ;-)
It's a sensible limitation.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Spehro Pefhany "The Journey is the reward"
speff@interlog.com
Fax:(905) 271-9838 (small micro system devt hw/sw + mfg)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=