On 2013-01-17 06:57:12 +0100, Mischa Baars wrote: > >What exactly do you mean by "terminate the if"?? Do you mean skip the > >whole compound statement, including any "else" clause? > Yes, exactly. Skip it, including the 'else'.
This is not how C works. Perhaps instead of if (x < y) ... else ... (where "else" means "in any other case"), you want: if (x < y) ... else if (x >= y) ... Then if x is NaN and/or y is NaN, neither the "if" nor the "else" will be executed. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)