The following two functions should be equalivant with --fast-math: int f(float a, float b) { return a*10 == b*10; } int f1(float a, float b) { return a == b; }
Confirmed.