[ create a new paste ] login | about

Link: http://codepad.org/vhQzDMqT    [ raw code | output | fork ]

C++, pasted on Jul 11:
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;
}


Output:
1
2
8
9223372036854775808.000000


Create a new paste based on this one


Comments: