fork download
  1. #include <cmath>
  2.  
  3. #include <iostream>
  4.  
  5. int main() {
  6.  
  7. using namespace std;
  8.  
  9. float pz = 0.0, nz = -0.0;
  10.  
  11. cout << isless( pz, nz ) << endl;
  12. cout << isgreater( pz, nz ) << endl;
  13.  
  14. }
  15.  
Success #stdin #stdout 0.01s 2680KB
stdin
Standard input is empty
stdout
0
0