in reply to Re^32: Why is the execution order of subexpressions undefined? (magic ruts)
in thread Why is the execution order of subexpressions undefined?

What if f(a) or g(b) returns Inf?

Replies are listed 'Best First'.
Re^34: Why is the execution order of subexpressions undefined? (magic ruts)
by Anonymous Monk on Apr 19, 2005 at 12:15 UTC
    Then, IMO, the expression should still return 0.
      But of course, your humble opinion is in the miniority. Inf*0 should be NaN.