Re: Yet Another Spinoza Challenge




"spinoza1111" <spinoza1111@xxxxxxxxx> wrote in message
...I dunno why he said that, but in general, the miserable C99
"standard" makes it easy to cover up ignorance by saying things are
undefined: it's a sort of Copenhagen interpretation of C but far less
intellectually responsible than the epistemology of quantum theory.

Undefined behaviour is to make it easy to write optimising compilers. On
some platforms an overflowing integer might automatically trigger an
excpetion which is hard to override. On another one it might be difficult to
detect overflow at all. By saying "the behaviour on overflow is undefined"
both the compilers can simply emit the code register a = register b +
register c, which is generally what the programmer wants when he write a = b
+ c;


.



Relevant Pages

  • Re: Yet Another Spinoza Challenge
    ... Undefined behaviour is to make it easy to write optimising compilers. ... By saying "the behaviour on overflow is undefined" ... both the compilers can simply emit the code register a = register b + ...
    (comp.lang.c)
  • Re: GoTo in Java
    ... I'm saying that is a hypothetical which, so far, I have not encountered ... methods of user interface and documentation, ... It would be wise to trap overflow and ensure ... ADD INCREMENT TO COUNT ON OVERFLOW CALL COUNT-ERROR-HANDLER ...
    (comp.lang.cobol)
  • Re: Burkes International REegister of Arms
    ... nonsense surfaces again in the Burke's Register! ... Are you saying that the NN may surface again generally or are you ... An online publication uncritically reproducing debatable arms and an unproven pedigree, as in the McShane-Johnson case under discussion, is very much to be regretted. ...
    (rec.heraldry)
  • Re: interrupting for overflow and loop termination
    ... > only this int can ever overflow. ... maybe all you need is a sticky overflow bit. ... When a user-level instruction X caused an exception, ... The CAUSE register was set to indicate the reason. ...
    (comp.arch)
  • Re: "When God Made Me" ~ Neil Young song ?
    ... > aural perceptions that didn't quite register at the conscious level ... > people needed killing? ... No, I'm not saying I'm special, if you're implying that I'm saying that. ...
    (rec.music.artists.springsteen)

Loading