SHARE
TWEET

Valor de pi 2.0

mierotom May 19th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <iomanip>
  3. #include <cmath>
  4.  
  5. #define pi acos(-1)
  6. #define FS fixed << setprecision(48)
  7.  
  8. using namespace std;
  9.  
  10. int main()
  11. {
  12.     cout << FS << "Valor de pi com precisao de 48 casas decimais: " << pi << endl;
  13.  
  14.     return 0;
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top