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 machines?). I doubt the GCC docs talk about this. You might check Richard Steven's book on "Advanced Unix Programming". It covers lots of information about standard machine limits and how to discover them.
Richard Coleman [EMAIL PROTECTED]
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"