fork download
  1. #include <iostream>
  2. #include <cmath>
  3. #include <float.h>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8.  
  9. if (5.0+5.0 == 15.0-5.0) {
  10. std::cout << "10.0 == 10.00000000000000001";
  11. }
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5324KB
stdin
Standard input is empty
stdout
10.0 == 10.00000000000000001