[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [SOLVED] Re: and/or missbehaviour in embedded lua 5.1
- From: Dave Dodge <dododge@...>
- Date: Fri, 17 Mar 2006 11:38:43 -0500
On Fri, Mar 17, 2006 at 01:45:15PM +0000, Lisa Parratt wrote:
> Dave Dodge wrote:
> >"int" is still allowed to be 16 bits in C99. The minimum magnitues
> >from section 5.2.4.2.1 (and Annex E):
> >
> > #define INT_MAX +32767
> > #define INT_MIN -32767
>
> Hmm - never used to be. I'm fairly certain it was defined as 32 bits as
> the be all and end all at one point.
You're probably thing of POSIX.1, which does change these values to
+2147483647 and -2147483647.
BTW the UNIX standard (which includes POSIX.1) is freely available
online in HTML format at:
http://www.opengroup.org/onlinepubs/009695399/mindex.html
-Dave Dodge
- References:
- Re: and/or missbehaviour in embedded lua 5.1, Andreas Stenius
- Re: and/or missbehaviour in embedded lua 5.1, Kein-Hong Man
- Re: and/or missbehaviour in embedded lua 5.1, Andreas Stenius
- Re: and/or missbehaviour in embedded lua 5.1, Kein-Hong Man
- Re: and/or missbehaviour in embedded lua 5.1, Andreas Stenius
- [SOLVED] Re: and/or missbehaviour in embedded lua 5.1, Andreas Stenius
- Re: [SOLVED] Re: and/or missbehaviour in embedded lua 5.1, Mike Pall
- Re: [SOLVED] Re: and/or missbehaviour in embedded lua 5.1, Lisa Parratt
- Re: [SOLVED] Re: and/or missbehaviour in embedded lua 5.1, Dave Dodge
- Re: [SOLVED] Re: and/or missbehaviour in embedded lua 5.1, Lisa Parratt