1 2 3 4 5 6 7 8 9 10
#include <iostream> using namespace std; int main() { volatile double x = 9223372036854775807.; cout << sizeof (double) << endl << fixed << x << endl; return 0; }
1 2
8 9223372036854775808.000000