On Fri, 21 Nov 2003, Duane H. Hesser wrote:
> On 21-Nov-2003 Richard Coleman wrote:
> > Jay Sern Liew wrote:
> >
> >> how do I find out the maximum (and minimum) value a long and int will hold
> >> in C? (before it overflows or underflows)
> >>
> >> if it's compiler-dependent, then does anyone kno
On 21-Nov-2003 Richard Coleman wrote:
> Jay Sern Liew wrote:
>
>> how do I find out the maximum (and minimum) value a long and int will hold
>> in C? (before it overflows or underflows)
>>
>> if it's compiler-dependent, then does anyone know where I can find the GCC
>> documentation for stuff li
EMAIL PROTECTED] Behalf Of ext
> > Tim Kientzle
> > Sent: Friday, November 21, 2003 12:24 AM
> > To: Jay Sern Liew
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: integer and long max/min values
> >
> >
> > Jay Sern Liew wrote:
> > > how do
On Fri, Nov 21, 2003 at 09:53:50AM -0800, [EMAIL PROTECTED] wrote:
[format recovered; Tim Kientzle wrote:]
> > Jay Sern Liew wrote:
> > > how do I find out the maximum (and minimum) value a long
> > and int will hold
> > > in C? (before it overflows or underflows)
> >
> > #include
> >
> > INT_M
TECTED]
> Subject: Re: integer and long max/min values
>
>
> Jay Sern Liew wrote:
> > how do I find out the maximum (and minimum) value a long
> and int will hold
> > in C? (before it overflows or underflows)
>
> #include
>
> INT_MAX and INT_MIN are the m
Jay Sern Liew wrote:
how do I find out the maximum (and minimum) value a long and int will hold
in C? (before it overflows or underflows)
if it's compiler-dependent, then does anyone know where I can find the GCC
documentation for stuff like that?
It will be architecture dependent (32 or 64 bit ma
Jay Sern Liew wrote:
how do I find out the maximum (and minimum) value a long and int will hold
in C? (before it overflows or underflows)
#include
INT_MAX and INT_MIN are the max/min values for an int
LONG_MAX and LONG_MIN are the max/min values for long.
Also, see stdint.h, which is defined in
On Thu, Nov 20, 2003 at 10:39:05PM -0600, Jay Sern Liew wrote:
how do I find out the maximum (and minimum) value a long and int will hold
in C? (before it overflows or underflows)
if it's compiler-dependent, then does anyone know where I can find the GCC
documentation for stuff like that?
Wrong mai
8 matches
Mail list logo