Re: Autoconf manual's coverage of signed integer overflow & portability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Eggert <eggert@xxxxxxxxxxx> writes:

| Here are further patches I checked into the Autoconf documentation to
| reflect today's comments (some of which I received privately).  Thanks
| to all of you.  The trickiest bit was documenting one simple way to
| reliably detect overflow without converting to unsigned and back.
| (At least, I hope it's reliable....)

I have noted earlier that the GNU implementation of C++ standard's 
std::numeric_limits<T>::is_modulo has been reporting "true" for over 
half a decade now, when T is a signed integral type.  I don't know where
that fits in the equation but surely it tells people that they can
count on wrapping for signed integer arithmetic.

-- Gaby


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux