fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. volatile double x = 9223372036854775807.;
  8. cout << sizeof (double) << endl << fixed << x << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
8
9223372036854775808.000000