root [0] std::cout << 10./3. << std::endl;
3.33333
root [1] std::cout.precision(16);
root [2] std::cout << 10./3. << std::endl;
3.333333333333333
root [3] std::cout << std::setprecision(10) << 10./3. << std::endl;
3.333333333
See the std::ios_base::precision and std::setprecision descriptions.