// Example program #include <iostream> #include <cmath> using namespace std; int main() { cout << M_PI << endl; // change 17 with other number to see what happens cout.precision(17); cout << M_PI << endl; return 0; }