In message: <[EMAIL PROTECTED]> Jilles Tjoelker <[EMAIL PROTECTED]> writes: : The compiler moans about (T)(-1) >= 0 as well. Is the assumption that : (unsigned type)(-1) is never zero valid?
yes. There are no known machines where -1 == 0 for types of different signs. Further, the C standard says that it must behave as if it is a two's complement machine, and I think that C++ says so too. Warner _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"