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

Re: Please don't do this (code fragment)



Manoj Srivastava <srivasta@debian.org> writes:

> 	I note that this is not normative.  I see no references in the
>  standard that require a particular behaviour on integer overflow, so
>  I guess the behaviour is undefined by omission (though particular
>  implementations may chose to have the behaviour well defined, if they
>  wish). 

I think the standard wants to allow for integer overflow to generate a
signal, and that's why it is undefined.



Reply to: