Phil Deets wrote:
On Fri, 04 Dec 2009 11:06:31 -0500, Don <[email protected]> wrote:Here's a table of equivalences. a!<>=b (a!=a) || (b!=b) a<>b (a==a) && (b==b) && (a!=b) a!<>b (a!=a) || (b!=b) || (a!=b) a<>=b (a==a) && (b==b) a!<=b !(a<=b) a!<b !(a<b) a!>=b !(a>=b) a!>b !(a>b) a!>=b !(a>=b)Obviously if a or b is known at compile time, or if it is known not to be NaN, many of the <> clauses can be dropped.Isn't a!<>b equivalent to (a!=a) || (b!=b) || (a==b)?
Yes.
