fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main () {
  4. auto abnormal = 0x0.b17217f7d1cf78p0;
  5. auto normal = 0x1.62e42fefa39efp-1;
  6. cout << hexfloat;
  7. cout << abnormal << endl;
  8. cout << normal << endl;
  9. cout << abnormal - normal << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
0x1.62e42fefa39efp-1
0x1.62e42fefa39efp-1
0x0p+0