#include <iostream>
#include <cmath>
using namespace std;
int main(){
float x = 100000000.f;
if(x == x + 0.000000007451f)
cout << "They are equal" << endl;
else
cout << "They are not equal" << endl;
if(x == x + 0.00000000745f)
cout << "They are equal" << endl;
else
cout << "They are not equal" << endl;
return 0;
}
Try it in a C++ compiler. Interesting results.
Edited for further standard compliance.