Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
精度を設定した関数から double を返したい! それは可能ですか?10 -5の精度が欲しい!
例えば :
double f(double a ,double b) { //something like return.setprecision(6); return (a+b)/2; }