On Fri, May 1, 2009 at 3:22 PM, Tim Ellison <[email protected]> wrote: > Dan Bornstein wrote: >> Would the following be a useful and safe improvement over the above?: >> if (float1 == float2 && 0.0f != (float1 + float2)) { > > In fact, since you have the ==, why is it not sufficient to say > (float1 == float2 && 0.0f != float1)
Good point! -dan
