summaryrefslogtreecommitdiff
path: root/tests/cxx
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2013-02-17 21:07:38 +0100
committerMarc Glisse <marc.glisse@inria.fr>2013-02-17 21:07:38 +0100
commite349462e3319df9b2ad1e54fdac803a7cfcac587 (patch)
tree93ad2f513a8065da32c43185deff0065a765a0e2 /tests/cxx
parent0c289444a4384619b46a33b0c9e8a83f6639bc0a (diff)
downloadgmp-e349462e3319df9b2ad1e54fdac803a7cfcac587.tar.gz
Include <math.h> instead of <cmath> followed by using namespace std. Don't include unused <iostream>.
Diffstat (limited to 'tests/cxx')
-rw-r--r--tests/cxx/t-ops2.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/cxx/t-ops2.cc b/tests/cxx/t-ops2.cc
index 656790b44..3fc472b6f 100644
--- a/tests/cxx/t-ops2.cc
+++ b/tests/cxx/t-ops2.cc
@@ -19,16 +19,13 @@ the GNU MP Library test suite. If not, see http://www.gnu.org/licenses/. */
#include "config.h"
-#include <iostream>
-#include <cmath>
+#include <math.h>
#include "gmp.h"
#include "gmpxx.h"
#include "gmp-impl.h"
#include "tests.h"
-using namespace std;
-
#define CHECK1(Type,a,fun) \
ASSERT_ALWAYS(fun((Type)(a))==fun(a))