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

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



>>"elf" == elf  <elf@florence.buici.com> writes:

 elf> Thanks.  This makes sense.

	Does it?

 elf> On Tue, Jan 15, 2002 at 07:25:29PM +0100, Olaf Weber wrote:
 >> 3 EXAMPLE An example of undefined behavior is the behavior on integer
 >> overflow.

	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). 

	manoj
-- 
 A comment from the Space Shuttle (!) computer IPL code, power failure
 handling: "OK!  LET'S GET ONE THING STRAIGHT.  I'M IN CHARGE OF THE
 CPU FOR THE NEXT 40 MILLISECONDS!"
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: