Re:Catching Integer Overflows in C
by Estragon on Tuesday August 02, 2011 @08:50AM
(#2836910)
The return value of 1 is strange, but superficial. It's easy enough to replace that with arbitrary behavior. The advantage of the approach in the OP is that it is more agnostic about the types involved, leading to more flexible code.
[ Parent
| on HN ]
There are no comments on this comment yet.