fork(18) download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. float f = 21736517;
  7. float a = f / 10.f;
  8. float b = f * 0.1f;
  9. cout << (a == b) << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
0