mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
limit print precision to 9 decimals
This commit is contained in:
parent
9c186095a8
commit
21e93919f3
@ -128,7 +128,7 @@ void test3() {
|
||||
|
||||
/** Main function */
|
||||
int main() {
|
||||
std::cout.precision(18);
|
||||
std::cout.precision(9);
|
||||
|
||||
std::cout << "Computations performed with machine epsilon: " << EPSILON
|
||||
<< "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user