mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-02 02:02:23 +08:00
limit print precision to 9 decimals
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user