Increase precision of output in float and double
by iarnab_kundu, Nov 29, 2013, 1:47 PM
This post has been edited 4 times. Last edited by iarnab_kundu, Nov 29, 2013, 6:05 PM
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
cout<<setprecision(50)<<22.0/7;
return 0;
}
by
AkshajK, Nov 29, 2013, 2:16 PM
by
iarnab_kundu, Nov 29, 2013, 3:08 PM
by
math_explorer, Nov 29, 2013, 3:23 PM
by
iarnab_kundu, Nov 29, 2013, 3:28 PM
This blog reflects my thoughts on the mathematics that I grapple with. Hopefully these rumblings could be organized as to be palatable to a mathematical audience.
Something appears to not have loaded correctly.