Date: Fri, 21 Nov 2003 15:51:02 +1100 From: Christopher Vance <vance@aurema.com> To: Jay Sern Liew <liew@jaysern.org> Cc: freebsd-hackers@freebsd.org Subject: Re: integer and long max/min values Message-ID: <20031121045102.GL12532@aurema.com> In-Reply-To: <20031120223816.G61303@pinnacle.schulte.org> References: <20031120223816.G61303@pinnacle.schulte.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 mailing list - if you don't already know really basic C, you ain't a hacker. Try <limits.h>. -- Christopher Vance
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031121045102.GL12532>