summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-02-24 16:13:48 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-02-24 16:13:48 +0000
commit321b58671e8cf9f2f404256eb54172bab3284584 (patch)
tree29dc0860097a408a629605a324b226e71669fd08
parentc101da7aeaeef39e9a6725c250124ac1eeb2b27e (diff)
downloadmpfr-321b58671e8cf9f2f404256eb54172bab3284584.tar.gz
[tests] Removed #include of headers already included via "mpfr-test.h"
(<limits.h>, <stdio.h>, <stdlib.h>). Note: this change doesn't apply to tvalist.c, which is a special test that doesn't use "mpfr-test.h". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8054 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/memory.c4
-rw-r--r--tests/reuse.c3
-rw-r--r--tests/tabs.c2
-rw-r--r--tests/tacos.c3
-rw-r--r--tests/tacosh.c3
-rw-r--r--tests/tadd.c2
-rw-r--r--tests/tadd1sp.c3
-rw-r--r--tests/tadd_d.c2
-rw-r--r--tests/tadd_ui.c2
-rw-r--r--tests/tagm.c3
-rw-r--r--tests/tai.c4
-rw-r--r--tests/tasin.c3
-rw-r--r--tests/tasinh.c3
-rw-r--r--tests/tatan.c3
-rw-r--r--tests/tatanh.c3
-rw-r--r--tests/taway.c3
-rw-r--r--tests/tbuildopt.c1
-rw-r--r--tests/tcan_round.c3
-rw-r--r--tests/tcbrt.c3
-rw-r--r--tests/tcheck.c3
-rw-r--r--tests/tcmp.c3
-rw-r--r--tests/tcmp2.c3
-rw-r--r--tests/tcmp_d.c3
-rw-r--r--tests/tcmp_ld.c2
-rw-r--r--tests/tcmp_ui.c3
-rw-r--r--tests/tcmpabs.c3
-rw-r--r--tests/tcomparisons.c3
-rw-r--r--tests/tconst_catalan.c2
-rw-r--r--tests/tconst_euler.c3
-rw-r--r--tests/tconst_log2.c3
-rw-r--r--tests/tconst_pi.c3
-rw-r--r--tests/tcopysign.c3
-rw-r--r--tests/tcos.c3
-rw-r--r--tests/tcosh.c3
-rw-r--r--tests/tcot.c3
-rw-r--r--tests/tcoth.c3
-rw-r--r--tests/tcsc.c3
-rw-r--r--tests/tcsch.c3
-rw-r--r--tests/td_div.c2
-rw-r--r--tests/td_sub.c2
-rw-r--r--tests/tdigamma.c3
-rw-r--r--tests/tdim.c3
-rw-r--r--tests/tdiv.c3
-rw-r--r--tests/tdiv_d.c2
-rw-r--r--tests/tdiv_ui.c2
-rw-r--r--tests/teint.c3
-rw-r--r--tests/teq.c3
-rw-r--r--tests/terf.c2
-rw-r--r--tests/tests.c1
-rw-r--r--tests/texceptions.c3
-rw-r--r--tests/texp.c4
-rw-r--r--tests/texp10.c4
-rw-r--r--tests/texp2.c4
-rw-r--r--tests/texpm1.c3
-rw-r--r--tests/tfactorial.c3
-rw-r--r--tests/tfits.c4
-rw-r--r--tests/tfma.c3
-rw-r--r--tests/tfmod.c3
-rw-r--r--tests/tfms.c3
-rw-r--r--tests/tfprintf.c2
-rw-r--r--tests/tfrac.c3
-rw-r--r--tests/tfrexp.c1
-rw-r--r--tests/tgamma.c3
-rw-r--r--tests/tget_d.c2
-rw-r--r--tests/tget_d_2exp.c2
-rw-r--r--tests/tget_f.c4
-rw-r--r--tests/tget_flt.c2
-rw-r--r--tests/tget_ld_2exp.c2
-rw-r--r--tests/tget_set_d64.c1
-rw-r--r--tests/tget_sj.c3
-rw-r--r--tests/tget_str.c2
-rw-r--r--tests/tget_z.c3
-rw-r--r--tests/tgmpop.c2
-rw-r--r--tests/tgrandom.c3
-rw-r--r--tests/thyperbolic.c3
-rw-r--r--tests/thypot.c4
-rw-r--r--tests/tinits.c2
-rw-r--r--tests/tinp_str.c3
-rw-r--r--tests/tinternals.c3
-rw-r--r--tests/tisnan.c3
-rw-r--r--tests/tisqrt.c3
-rw-r--r--tests/tj0.c3
-rw-r--r--tests/tj1.c3
-rw-r--r--tests/tjn.c4
-rw-r--r--tests/tl2b.c2
-rw-r--r--tests/tlgamma.c3
-rw-r--r--tests/tli2.c3
-rw-r--r--tests/tlngamma.c3
-rw-r--r--tests/tlog.c3
-rw-r--r--tests/tlog10.c3
-rw-r--r--tests/tlog1p.c3
-rw-r--r--tests/tlog2.c3
-rw-r--r--tests/tmin_prec.c3
-rw-r--r--tests/tminmax.c3
-rw-r--r--tests/tmodf.c3
-rw-r--r--tests/tmul.c3
-rw-r--r--tests/tmul_2exp.c3
-rw-r--r--tests/tmul_d.c2
-rw-r--r--tests/tmul_ui.c3
-rw-r--r--tests/tnext.c3
-rw-r--r--tests/tout_str.c1
-rw-r--r--tests/toutimpl.c1
-rw-r--r--tests/tpow.c3
-rw-r--r--tests/tpow3.c4
-rw-r--r--tests/tpow_all.c2
-rw-r--r--tests/tpow_z.c1
-rw-r--r--tests/tprintf.c2
-rw-r--r--tests/trandom.c3
-rw-r--r--tests/trec_sqrt.c3
-rw-r--r--tests/tremquo.c3
-rw-r--r--tests/trint.c2
-rw-r--r--tests/troot.c3
-rw-r--r--tests/tround_prec.c3
-rw-r--r--tests/tsec.c3
-rw-r--r--tests/tsech.c3
-rw-r--r--tests/tset.c3
-rw-r--r--tests/tset_d.c2
-rw-r--r--tests/tset_exp.c3
-rw-r--r--tests/tset_f.c4
-rw-r--r--tests/tset_ld.c3
-rw-r--r--tests/tset_q.c3
-rw-r--r--tests/tset_si.c4
-rw-r--r--tests/tset_sj.c3
-rw-r--r--tests/tset_str.c2
-rw-r--r--tests/tset_z.c4
-rw-r--r--tests/tset_z_exp.c4
-rw-r--r--tests/tsgn.c3
-rw-r--r--tests/tsi_op.c3
-rw-r--r--tests/tsin.c2
-rw-r--r--tests/tsin_cos.c3
-rw-r--r--tests/tsinh.c3
-rw-r--r--tests/tsinh_cosh.c3
-rw-r--r--tests/tsprintf.c1
-rw-r--r--tests/tsqr.c3
-rw-r--r--tests/tsqrt.c3
-rw-r--r--tests/tsqrt_ui.c3
-rw-r--r--tests/tstckintc.c2
-rw-r--r--tests/tstrtofr.c2
-rw-r--r--tests/tsub.c3
-rw-r--r--tests/tsub1sp.c3
-rw-r--r--tests/tsub_d.c2
-rw-r--r--tests/tsub_ui.c2
-rw-r--r--tests/tsubnormal.c4
-rw-r--r--tests/tsum.c2
-rw-r--r--tests/tswap.c3
-rw-r--r--tests/ttan.c3
-rw-r--r--tests/ttanh.c3
-rw-r--r--tests/ttrunc.c3
-rw-r--r--tests/tui_div.c3
-rw-r--r--tests/tui_pow.c4
-rw-r--r--tests/tui_sub.c2
-rw-r--r--tests/turandom.c3
-rw-r--r--tests/tversion.c2
-rw-r--r--tests/ty0.c3
-rw-r--r--tests/ty1.c3
-rw-r--r--tests/tyn.c3
-rw-r--r--tests/tzeta.c3
-rw-r--r--tests/tzeta_ui.c3
158 files changed, 1 insertions, 439 deletions
diff --git a/tests/memory.c b/tests/memory.c
index 260aa633b..8156518a8 100644
--- a/tests/memory.c
+++ b/tests/memory.c
@@ -22,10 +22,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Note: this file comes from GMP's tests/memory.c */
-#include <stdio.h>
-#include <stdlib.h> /* for abort */
-#include <limits.h>
-
#include "mpfr-test.h"
/* Each block allocated is a separate malloc, for the benefit of a redzoning
diff --git a/tests/reuse.c b/tests/reuse.c
index d3bbf056f..45e7b41fb 100644
--- a/tests/reuse.c
+++ b/tests/reuse.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define DISP(s, t) {printf(s); mpfr_out_str(stdout, 2, 0, t, MPFR_RNDN); }
diff --git a/tests/tabs.c b/tests/tabs.c
index dc39c6663..5a9e722c8 100644
--- a/tests/tabs.c
+++ b/tests/tabs.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tacos.c b/tests/tacos.c
index bc8cc1bc0..91d2bcab7 100644
--- a/tests/tacos.c
+++ b/tests/tacos.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_acos
diff --git a/tests/tacosh.c b/tests/tacosh.c
index 5e1062a38..dea8f2bbb 100644
--- a/tests/tacosh.c
+++ b/tests/tacosh.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_acosh
diff --git a/tests/tadd.c b/tests/tadd.c
index 826ab8477..3df06f31f 100644
--- a/tests/tadd.c
+++ b/tests/tadd.c
@@ -22,8 +22,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define NUM 30000
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tadd1sp.c b/tests/tadd1sp.c
index 76c52b0f7..e7bfbcdc4 100644
--- a/tests/tadd1sp.c
+++ b/tests/tadd1sp.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void check_special (void);
diff --git a/tests/tadd_d.c b/tests/tadd_d.c
index 08994003b..d10bf1709 100644
--- a/tests/tadd_d.c
+++ b/tests/tadd_d.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tadd_ui.c b/tests/tadd_ui.c
index 064bb94d4..0f77d71fc 100644
--- a/tests/tadd_ui.c
+++ b/tests/tadd_ui.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tagm.c b/tests/tagm.c
index d8427a128..9a20d7607 100644
--- a/tests/tagm.c
+++ b/tests/tagm.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define check(a,b,r) check4(a,b,r,0.0)
diff --git a/tests/tai.c b/tests/tai.c
index fcc8dc75f..64073f273 100644
--- a/tests/tai.c
+++ b/tests/tai.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_ai
diff --git a/tests/tasin.c b/tests/tasin.c
index fe2290c94..dac0ab238 100644
--- a/tests/tasin.c
+++ b/tests/tasin.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_asin
diff --git a/tests/tasinh.c b/tests/tasinh.c
index 9bd384cbd..3d4266b8c 100644
--- a/tests/tasinh.c
+++ b/tests/tasinh.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_asinh
diff --git a/tests/tatan.c b/tests/tatan.c
index 88c19075d..f6f88698a 100644
--- a/tests/tatan.c
+++ b/tests/tatan.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tatanh.c b/tests/tatanh.c
index 510091fe4..f660d49aa 100644
--- a/tests/tatanh.c
+++ b/tests/tatanh.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_atanh
diff --git a/tests/taway.c b/tests/taway.c
index 9676ddd74..03c364964 100644
--- a/tests/taway.c
+++ b/tests/taway.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define DISP(s, t) {printf(s); mpfr_out_str(stdout, 2, 0, t, MPFR_RNDN); }
diff --git a/tests/tbuildopt.c b/tests/tbuildopt.c
index f4a620ff1..a2c70d402 100644
--- a/tests/tbuildopt.c
+++ b/tests/tbuildopt.c
@@ -21,7 +21,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
#include "mpfr-test.h"
static void
diff --git a/tests/tcan_round.c b/tests/tcan_round.c
index 7fc4789f1..ede02d7aa 100644
--- a/tests/tcan_round.c
+++ b/tests/tcan_round.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define MAX_LIMB_SIZE 100
diff --git a/tests/tcbrt.c b/tests/tcbrt.c
index 132c443ad..75dc20db6 100644
--- a/tests/tcbrt.c
+++ b/tests/tcbrt.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tcheck.c b/tests/tcheck.c
index 2f838015e..ef522a07b 100644
--- a/tests/tcheck.c
+++ b/tests/tcheck.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-#include <stdio.h>
-
#include "mpfr-test.h"
#define ERROR(s) \
diff --git a/tests/tcmp.c b/tests/tcmp.c
index 0dbbfb1f7..74207c7bc 100644
--- a/tests/tcmp.c
+++ b/tests/tcmp.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tcmp2.c b/tests/tcmp2.c
index e3ed85afa..79798e598 100644
--- a/tests/tcmp2.c
+++ b/tests/tcmp2.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* set bit n of x to b, where bit 0 is the most significant one */
diff --git a/tests/tcmp_d.c b/tests/tcmp_d.c
index 0ea314e9a..8dbf16260 100644
--- a/tests/tcmp_d.c
+++ b/tests/tcmp_d.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tcmp_ld.c b/tests/tcmp_ld.c
index cc76dc3f2..288f8868c 100644
--- a/tests/tcmp_ld.c
+++ b/tests/tcmp_ld.c
@@ -19,8 +19,6 @@ You should have received a copy of the GNU Lesser General Public License
along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include "mpfr-test.h"
diff --git a/tests/tcmp_ui.c b/tests/tcmp_ui.c
index 7142422ef..2f29ab5bd 100644
--- a/tests/tcmp_ui.c
+++ b/tests/tcmp_ui.c
@@ -56,9 +56,6 @@ if (TCMP_UI_CHECK_NAN >= 0)
#else
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tcmpabs.c b/tests/tcmpabs.c
index 7bff6feb2..2a5c74c18 100644
--- a/tests/tcmpabs.c
+++ b/tests/tcmpabs.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define ERROR(s) do { printf(s); exit(1); } while (0)
diff --git a/tests/tcomparisons.c b/tests/tcomparisons.c
index 4ed31e6c6..1e59c43ce 100644
--- a/tests/tcomparisons.c
+++ b/tests/tcomparisons.c
@@ -22,9 +22,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tconst_catalan.c b/tests/tconst_catalan.c
index b1f169908..92abaac32 100644
--- a/tests/tconst_catalan.c
+++ b/tests/tconst_catalan.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include "mpfr-test.h"
/* Wrapper for tgeneric */
diff --git a/tests/tconst_euler.c b/tests/tconst_euler.c
index a66a13181..5d5157dac 100644
--- a/tests/tconst_euler.c
+++ b/tests/tconst_euler.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* Wrapper for tgeneric */
diff --git a/tests/tconst_log2.c b/tests/tconst_log2.c
index f8ef9aecd..82c7ff5d7 100644
--- a/tests/tconst_log2.c
+++ b/tests/tconst_log2.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* tlog2 [prec] [rnd] [0 = no print] */
diff --git a/tests/tconst_pi.c b/tests/tconst_pi.c
index f98873a78..49ca3a806 100644
--- a/tests/tconst_pi.c
+++ b/tests/tconst_pi.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* tconst_pi [prec] [rnd] [0 = no print] */
diff --git a/tests/tcopysign.c b/tests/tcopysign.c
index 8ee7371bd..5df7a4615 100644
--- a/tests/tcopysign.c
+++ b/tests/tcopysign.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tcos.c b/tests/tcos.c
index d1ac51661..fc7811acf 100644
--- a/tests/tcos.c
+++ b/tests/tcos.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tcosh.c b/tests/tcosh.c
index ea14a226b..c1be5e109 100644
--- a/tests/tcosh.c
+++ b/tests/tcosh.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_cosh
diff --git a/tests/tcot.c b/tests/tcot.c
index c749dc549..1d714a336 100644
--- a/tests/tcot.c
+++ b/tests/tcot.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_cot
diff --git a/tests/tcoth.c b/tests/tcoth.c
index 405b91461..3683306c9 100644
--- a/tests/tcoth.c
+++ b/tests/tcoth.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_coth
diff --git a/tests/tcsc.c b/tests/tcsc.c
index 00fcc1548..f7f9a295e 100644
--- a/tests/tcsc.c
+++ b/tests/tcsc.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_csc
diff --git a/tests/tcsch.c b/tests/tcsch.c
index d82c1682d..7179580c9 100644
--- a/tests/tcsch.c
+++ b/tests/tcsch.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_csch
diff --git a/tests/td_div.c b/tests/td_div.c
index 5c6eea648..cfef5cfc7 100644
--- a/tests/td_div.c
+++ b/tests/td_div.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/td_sub.c b/tests/td_sub.c
index 2e08d3108..2a6e95f15 100644
--- a/tests/td_sub.c
+++ b/tests/td_sub.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tdigamma.c b/tests/tdigamma.c
index c4fac6240..7cd8cd73c 100644
--- a/tests/tdigamma.c
+++ b/tests/tdigamma.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_digamma
diff --git a/tests/tdim.c b/tests/tdim.c
index f95df1470..383834e3a 100644
--- a/tests/tdim.c
+++ b/tests/tdim.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_dim
diff --git a/tests/tdiv.c b/tests/tdiv.c
index 769ae9dd3..b0c7004a0 100644
--- a/tests/tdiv.c
+++ b/tests/tdiv.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tdiv_d.c b/tests/tdiv_d.c
index a1baaa847..ba6de2adc 100644
--- a/tests/tdiv_d.c
+++ b/tests/tdiv_d.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tdiv_ui.c b/tests/tdiv_ui.c
index 5ee6b33e0..dc7e36b6e 100644
--- a/tests/tdiv_ui.c
+++ b/tests/tdiv_ui.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/teint.c b/tests/teint.c
index 1ea8fa53f..dad36e22e 100644
--- a/tests/teint.c
+++ b/tests/teint.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_eint
diff --git a/tests/teq.c b/tests/teq.c
index 32b7110b0..509db98b0 100644
--- a/tests/teq.c
+++ b/tests/teq.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/terf.c b/tests/terf.c
index 18f692a3c..0d50a89b2 100644
--- a/tests/terf.c
+++ b/tests/terf.c
@@ -21,8 +21,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
#include "mpfr-test.h"
diff --git a/tests/tests.c b/tests/tests.c
index d6dea4d9e..e13ec03c6 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -26,7 +26,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# endif
#endif
-#include <stdlib.h>
#include <float.h>
#include <errno.h>
diff --git a/tests/texceptions.c b/tests/texceptions.c
index de77008ee..e3767056a 100644
--- a/tests/texceptions.c
+++ b/tests/texceptions.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define ERROR(s) do { printf(s"\n"); exit(1); } while(0)
diff --git a/tests/texp.c b/tests/texp.c
index da14694f2..d01afbcb2 100644
--- a/tests/texp.c
+++ b/tests/texp.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/texp10.c b/tests/texp10.c
index f3a81bc3d..d5af98ac6 100644
--- a/tests/texp10.c
+++ b/tests/texp10.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_exp10
diff --git a/tests/texp2.c b/tests/texp2.c
index 0096b78bc..ed6d0a49d 100644
--- a/tests/texp2.c
+++ b/tests/texp2.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_exp2
diff --git a/tests/texpm1.c b/tests/texpm1.c
index 23fdc4c15..a0044383a 100644
--- a/tests/texpm1.c
+++ b/tests/texpm1.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tfactorial.c b/tests/tfactorial.c
index 41bfee76c..f2c56dc13 100644
--- a/tests/tfactorial.c
+++ b/tests/tfactorial.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_fac_ui
diff --git a/tests/tfits.c b/tests/tfits.c
index aeb098a32..f9dd92c78 100644
--- a/tests/tfits.c
+++ b/tests/tfits.c
@@ -26,10 +26,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# include "config.h" /* for a build within gmp */
#endif
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-intmax.h"
#include "mpfr-test.h"
diff --git a/tests/tfma.c b/tests/tfma.c
index dd55c696d..e795245ab 100644
--- a/tests/tfma.c
+++ b/tests/tfma.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* When a * b is exact, the FMA is equivalent to the separate operations. */
diff --git a/tests/tfmod.c b/tests/tfmod.c
index 5a93fde66..a7cb90cb3 100644
--- a/tests/tfmod.c
+++ b/tests/tfmod.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0)
diff --git a/tests/tfms.c b/tests/tfms.c
index 5ffbc55c2..02d559f17 100644
--- a/tests/tfms.c
+++ b/tests/tfms.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* When a * b is exact, the FMS is equivalent to the separate operations. */
diff --git a/tests/tfprintf.c b/tests/tfprintf.c
index d3fe49601..fffa8edea 100644
--- a/tests/tfprintf.c
+++ b/tests/tfprintf.c
@@ -23,8 +23,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#ifdef HAVE_STDARG
#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include <stddef.h>
diff --git a/tests/tfrac.c b/tests/tfrac.c
index 886f9fa51..ec28b9670 100644
--- a/tests/tfrac.c
+++ b/tests/tfrac.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define PIP 70
diff --git a/tests/tfrexp.c b/tests/tfrexp.c
index 52b640fd9..fc218b507 100644
--- a/tests/tfrexp.c
+++ b/tests/tfrexp.c
@@ -20,7 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h> /* for exit */
#include "mpfr-test.h"
static void
diff --git a/tests/tgamma.c b/tests/tgamma.c
index 9100c7c45..2e79dc0df 100644
--- a/tests/tgamma.c
+++ b/tests/tgamma.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* Note: there could be an incorrect test about suspicious overflow
diff --git a/tests/tget_d.c b/tests/tget_d.c
index b174ace6b..c8b116950 100644
--- a/tests/tget_d.c
+++ b/tests/tget_d.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tget_d_2exp.c b/tests/tget_d_2exp.c
index 32db3b3af..a7a995755 100644
--- a/tests/tget_d_2exp.c
+++ b/tests/tget_d_2exp.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tget_f.c b/tests/tget_f.c
index 06cb1f7f3..de4450d20 100644
--- a/tests/tget_f.c
+++ b/tests/tget_f.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
/* Test that there is no lost of accuracy when converting a mpfr_t number
diff --git a/tests/tget_flt.c b/tests/tget_flt.c
index 6f541f985..d49ac13e4 100644
--- a/tests/tget_flt.c
+++ b/tests/tget_flt.c
@@ -20,8 +20,8 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
#include <float.h> /* for FLT_MIN */
+
#include "mpfr-test.h"
int
diff --git a/tests/tget_ld_2exp.c b/tests/tget_ld_2exp.c
index c38b27247..9d66a76f7 100644
--- a/tests/tget_ld_2exp.c
+++ b/tests/tget_ld_2exp.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tget_set_d64.c b/tests/tget_set_d64.c
index 97becfa31..509aaa7e3 100644
--- a/tests/tget_set_d64.c
+++ b/tests/tget_set_d64.c
@@ -22,7 +22,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#ifdef MPFR_WANT_DECIMAL_FLOATS
-#include <stdlib.h> /* for exit */
#include "mpfr-test.h"
/* #define DEBUG */
diff --git a/tests/tget_sj.c b/tests/tget_sj.c
index 49514d545..6f053dd63 100644
--- a/tests/tget_sj.c
+++ b/tests/tget_sj.c
@@ -24,9 +24,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# include "config.h" /* for a build within gmp */
#endif
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-intmax.h"
#include "mpfr-test.h"
diff --git a/tests/tget_str.c b/tests/tget_str.c
index bdda0eec8..8437f00ed 100644
--- a/tests/tget_str.c
+++ b/tests/tget_str.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tget_z.c b/tests/tget_z.c
index da4e78ae0..68e215981 100644
--- a/tests/tget_z.c
+++ b/tests/tget_z.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tgmpop.c b/tests/tgmpop.c
index 86375bb0b..52a8accaf 100644
--- a/tests/tgmpop.c
+++ b/tests/tgmpop.c
@@ -21,8 +21,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include "mpfr-test.h"
#define CHECK_FOR(str, cond) \
diff --git a/tests/tgrandom.c b/tests/tgrandom.c
index c409bd047..7c65c9984 100644
--- a/tests/tgrandom.c
+++ b/tests/tgrandom.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/thyperbolic.c b/tests/thyperbolic.c
index f7d45d7e1..79aab0c4c 100644
--- a/tests/thyperbolic.c
+++ b/tests/thyperbolic.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-#include <stdio.h>
-
#include "mpfr-test.h"
static int
diff --git a/tests/thypot.c b/tests/thypot.c
index 1984cd108..89648c69b 100644
--- a/tests/thypot.c
+++ b/tests/thypot.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <limits.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* Non-zero when extended exponent range */
diff --git a/tests/tinits.c b/tests/tinits.c
index 8cb5d648a..e9b959382 100644
--- a/tests/tinits.c
+++ b/tests/tinits.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tinp_str.c b/tests/tinp_str.c
index 5008fcddc..e89a30448 100644
--- a/tests/tinp_str.c
+++ b/tests/tinp_str.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tinternals.c b/tests/tinternals.c
index 54fb0d474..204aeead4 100644
--- a/tests/tinternals.c
+++ b/tests/tinternals.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#define MPFR_NEED_LONGLONG_H
#include "mpfr-test.h"
diff --git a/tests/tisnan.c b/tests/tisnan.c
index d611ac2cf..138f70827 100644
--- a/tests/tisnan.c
+++ b/tests/tisnan.c
@@ -21,9 +21,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tisqrt.c b/tests/tisqrt.c
index e4227ae8d..a404cf7b1 100644
--- a/tests/tisqrt.c
+++ b/tests/tisqrt.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tj0.c b/tests/tj0.c
index 33240ba0d..744376cc1 100644
--- a/tests/tj0.c
+++ b/tests/tj0.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_j0
diff --git a/tests/tj1.c b/tests/tj1.c
index 194c8216f..8a8236871 100644
--- a/tests/tj1.c
+++ b/tests/tj1.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_j1
diff --git a/tests/tjn.c b/tests/tjn.c
index 300125ec1..083b088a0 100644
--- a/tests/tjn.c
+++ b/tests/tjn.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h> /* for LONG_MAX */
-
#include "mpfr-test.h"
int
diff --git a/tests/tl2b.c b/tests/tl2b.c
index f088d08e7..8652bc02c 100644
--- a/tests/tl2b.c
+++ b/tests/tl2b.c
@@ -23,8 +23,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Execute this program with an argument to generate code that initializes
the l2b constants. */
-#include <stdio.h>
-#include <stdlib.h>
#include "mpfr-test.h"
/* Must be a multiple of 4 */
diff --git a/tests/tlgamma.c b/tests/tlgamma.c
index 6f8196bda..331f1194f 100644
--- a/tests/tlgamma.c
+++ b/tests/tlgamma.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static int
diff --git a/tests/tli2.c b/tests/tli2.c
index f87407936..66743e746 100644
--- a/tests/tli2.c
+++ b/tests/tli2.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0)
diff --git a/tests/tlngamma.c b/tests/tlngamma.c
index 8ec60ab28..353468b51 100644
--- a/tests/tlngamma.c
+++ b/tests/tlngamma.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_lngamma
diff --git a/tests/tlog.c b/tests/tlog.c
index 249c50cd8..3ff13dcc9 100644
--- a/tests/tlog.c
+++ b/tests/tlog.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tlog10.c b/tests/tlog10.c
index cb48493a4..0c577014a 100644
--- a/tests/tlog10.c
+++ b/tests/tlog10.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tlog1p.c b/tests/tlog1p.c
index 6975b524f..80ff65674 100644
--- a/tests/tlog1p.c
+++ b/tests/tlog1p.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tlog2.c b/tests/tlog2.c
index da841124c..df77fd21e 100644
--- a/tests/tlog2.c
+++ b/tests/tlog2.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_log2
diff --git a/tests/tmin_prec.c b/tests/tmin_prec.c
index 3b005df1e..ad684ed82 100644
--- a/tests/tmin_prec.c
+++ b/tests/tmin_prec.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tminmax.c b/tests/tminmax.c
index fe3b1ae0b..19e6e2bb5 100644
--- a/tests/tminmax.c
+++ b/tests/tminmax.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tmodf.c b/tests/tmodf.c
index 98a79ca9a..35c2212de 100644
--- a/tests/tmodf.c
+++ b/tests/tmodf.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0)
diff --git a/tests/tmul.c b/tests/tmul.c
index 3df65cfc2..03bd816a8 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tmul_2exp.c b/tests/tmul_2exp.c
index d1f17274b..c93bead6f 100644
--- a/tests/tmul_2exp.c
+++ b/tests/tmul_2exp.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static const char * const val[] = {
diff --git a/tests/tmul_d.c b/tests/tmul_d.c
index e178674f0..10aa4e69c 100644
--- a/tests/tmul_d.c
+++ b/tests/tmul_d.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tmul_ui.c b/tests/tmul_ui.c
index ec1750756..0b6db91a6 100644
--- a/tests/tmul_ui.c
+++ b/tests/tmul_ui.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tnext.c b/tests/tnext.c
index 2f60bfa5f..60863c126 100644
--- a/tests/tnext.c
+++ b/tests/tnext.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* Generic tests for mpfr_nextabove and mpfr_nextbelow */
diff --git a/tests/tout_str.c b/tests/tout_str.c
index 4f09d8b7c..1c6fae7d8 100644
--- a/tests/tout_str.c
+++ b/tests/tout_str.c
@@ -21,7 +21,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <float.h>
-#include <stdlib.h>
#include "mpfr-test.h"
diff --git a/tests/toutimpl.c b/tests/toutimpl.c
index fa456ea69..d21881966 100644
--- a/tests/toutimpl.c
+++ b/tests/toutimpl.c
@@ -21,7 +21,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
#include "mpfr-test.h"
/* We output stdout to a file to check if it is correct
diff --git a/tests/tpow.c b/tests/tpow.c
index c4d28acf4..fedc97ace 100644
--- a/tests/tpow.c
+++ b/tests/tpow.c
@@ -20,11 +20,8 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include <math.h>
-#include <limits.h>
#include "mpfr-test.h"
diff --git a/tests/tpow3.c b/tests/tpow3.c
index d12ed6581..801870776 100644
--- a/tests/tpow3.c
+++ b/tests/tpow3.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <limits.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
diff --git a/tests/tpow_all.c b/tests/tpow_all.c
index c0b7817da..ce87d4cf8 100644
--- a/tests/tpow_all.c
+++ b/tests/tpow_all.c
@@ -29,8 +29,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Execute with at least an argument to report all the errors found by
comparisons. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* Behavior of cmpres (called by test_others):
diff --git a/tests/tpow_z.c b/tests/tpow_z.c
index c508e25cd..38dfb2649 100644
--- a/tests/tpow_z.c
+++ b/tests/tpow_z.c
@@ -20,7 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
#include <float.h>
#include <math.h>
diff --git a/tests/tprintf.c b/tests/tprintf.c
index c8771c597..fc84386ab 100644
--- a/tests/tprintf.c
+++ b/tests/tprintf.c
@@ -23,8 +23,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#if HAVE_STDARG
#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <stddef.h>
#include "mpfr-intmax.h"
diff --git a/tests/trandom.c b/tests/trandom.c
index 608fbc270..58a5bc345 100644
--- a/tests/trandom.c
+++ b/tests/trandom.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
diff --git a/tests/trec_sqrt.c b/tests/trec_sqrt.c
index 64b742c71..6c4c750b2 100644
--- a/tests/trec_sqrt.c
+++ b/tests/trec_sqrt.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0)
diff --git a/tests/tremquo.c b/tests/tremquo.c
index c8843f8ca..ef051a73b 100644
--- a/tests/tremquo.c
+++ b/tests/tremquo.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/trint.c b/tests/trint.c
index f3fbc7aea..71f741679 100644
--- a/tests/trint.c
+++ b/tests/trint.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
#if __MPFR_STDC (199901L)
diff --git a/tests/troot.c b/tests/troot.c
index f94ad0c47..d9e0381cc 100644
--- a/tests/troot.c
+++ b/tests/troot.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tround_prec.c b/tests/tround_prec.c
index a4eb85c58..691e8f15e 100644
--- a/tests/tround_prec.c
+++ b/tests/tround_prec.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tsec.c b/tests/tsec.c
index eff1f46e2..6945f6f21 100644
--- a/tests/tsec.c
+++ b/tests/tsec.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_sec
diff --git a/tests/tsech.c b/tests/tsech.c
index 2043c9ea0..57a901adc 100644
--- a/tests/tsech.c
+++ b/tests/tsech.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_sech
diff --git a/tests/tset.c b/tests/tset.c
index f096cf7c5..9ddd4f429 100644
--- a/tests/tset.c
+++ b/tests/tset.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int error;
diff --git a/tests/tset_d.c b/tests/tset_d.c
index 3a719d9e8..454d2e0ce 100644
--- a/tests/tset_d.c
+++ b/tests/tset_d.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tset_exp.c b/tests/tset_exp.c
index a96d0b112..ab24b1e7b 100644
--- a/tests/tset_exp.c
+++ b/tests/tset_exp.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tset_f.c b/tests/tset_f.c
index d0f332639..cee10f209 100644
--- a/tests/tset_f.c
+++ b/tests/tset_f.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h> /* for ULONG_MAX */
-
#include "mpfr-test.h"
int
diff --git a/tests/tset_ld.c b/tests/tset_ld.c
index ea30b49e6..23193c5a4 100644
--- a/tests/tset_ld.c
+++ b/tests/tset_ld.c
@@ -20,10 +20,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
-#include <limits.h>
#ifdef WITH_FPU_CONTROL
#include <fpu_control.h>
#endif
diff --git a/tests/tset_q.c b/tests/tset_q.c
index f1ddc3905..b0f178211 100644
--- a/tests/tset_q.c
+++ b/tests/tset_q.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tset_si.c b/tests/tset_si.c
index 52d9f4d84..7ee4a8fa6 100644
--- a/tests/tset_si.c
+++ b/tests/tset_si.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
#define ERROR(str) {printf("Error for "str"\n"); exit(1);}
diff --git a/tests/tset_sj.c b/tests/tset_sj.c
index 32e1117b7..15558ce42 100644
--- a/tests/tset_sj.c
+++ b/tests/tset_sj.c
@@ -25,9 +25,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# include "config.h" /* for a build within gmp */
#endif
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
#include "mpfr-intmax.h"
#include "mpfr-test.h"
diff --git a/tests/tset_str.c b/tests/tset_str.c
index 2c3f25900..25eefc5d1 100644
--- a/tests/tset_str.c
+++ b/tests/tset_str.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define N 30000
diff --git a/tests/tset_z.c b/tests/tset_z.c
index a60260591..b44a9ade2 100644
--- a/tests/tset_z.c
+++ b/tests/tset_z.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
static void check0(void)
diff --git a/tests/tset_z_exp.c b/tests/tset_z_exp.c
index 8c1b951f1..f76fc1783 100644
--- a/tests/tset_z_exp.c
+++ b/tests/tset_z_exp.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
static mpfr_exp_t
diff --git a/tests/tsgn.c b/tests/tsgn.c
index 973f97fc5..1a6b022fc 100644
--- a/tests/tsgn.c
+++ b/tests/tsgn.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tsi_op.c b/tests/tsi_op.c
index 414731587..f52e7fb5e 100644
--- a/tests/tsi_op.c
+++ b/tests/tsi_op.c
@@ -21,9 +21,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define ERROR1(s, i, z, exp) \
diff --git a/tests/tsin.c b/tests/tsin.c
index 9d7b6a8e4..2ec88d245 100644
--- a/tests/tsin.c
+++ b/tests/tsin.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tsin_cos.c b/tests/tsin_cos.c
index 18804ee55..19bad847a 100644
--- a/tests/tsin_cos.c
+++ b/tests/tsin_cos.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tsinh.c b/tests/tsinh.c
index 4e97ef87b..297116323 100644
--- a/tests/tsinh.c
+++ b/tests/tsinh.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_sinh
diff --git a/tests/tsinh_cosh.c b/tests/tsinh_cosh.c
index 96127a2c5..f2e4cabd8 100644
--- a/tests/tsinh_cosh.c
+++ b/tests/tsinh_cosh.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0)
diff --git a/tests/tsprintf.c b/tests/tsprintf.c
index 6d1ce0ea4..0168af382 100644
--- a/tests/tsprintf.c
+++ b/tests/tsprintf.c
@@ -24,7 +24,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#ifdef HAVE_STDARG
#include <stdarg.h>
-#include <stdlib.h>
#include <float.h>
#ifdef HAVE_LOCALE_H
diff --git a/tests/tsqr.c b/tests/tsqr.c
index a4456cd74..26149080f 100644
--- a/tests/tsqr.c
+++ b/tests/tsqr.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_sqr
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index d7408cbfc..9990ce218 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tsqrt_ui.c b/tests/tsqrt_ui.c
index c436fa371..8ee147686 100644
--- a/tests/tsqrt_ui.c
+++ b/tests/tsqrt_ui.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tstckintc.c b/tests/tstckintc.c
index 565c3e943..db8a439b6 100644
--- a/tests/tstckintc.c
+++ b/tests/tstckintc.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define BUFFER_SIZE 250
diff --git a/tests/tstrtofr.c b/tests/tstrtofr.c
index 8b1ebd623..05513caaa 100644
--- a/tests/tstrtofr.c
+++ b/tests/tstrtofr.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tsub.c b/tests/tsub.c
index c1d537969..51a359037 100644
--- a/tests/tsub.c
+++ b/tests/tsub.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
diff --git a/tests/tsub1sp.c b/tests/tsub1sp.c
index dec5e462d..aa2d5342c 100644
--- a/tests/tsub1sp.c
+++ b/tests/tsub1sp.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void check_special (void);
diff --git a/tests/tsub_d.c b/tests/tsub_d.c
index 47e312eec..464eb6bf6 100644
--- a/tests/tsub_d.c
+++ b/tests/tsub_d.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tsub_ui.c b/tests/tsub_ui.c
index 805f8a9c1..47d720dfc 100644
--- a/tests/tsub_ui.c
+++ b/tests/tsub_ui.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/tsubnormal.c b/tests/tsubnormal.c
index f4362ee9e..507577ffd 100644
--- a/tests/tsubnormal.c
+++ b/tests/tsubnormal.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
static const struct {
diff --git a/tests/tsum.c b/tests/tsum.c
index 0e6a4ae22..b070e746a 100644
--- a/tests/tsum.c
+++ b/tests/tsum.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-#include <stdio.h>
#include "mpfr-test.h"
static int
diff --git a/tests/tswap.c b/tests/tswap.c
index 9967782ab..7fbeef465 100644
--- a/tests/tswap.c
+++ b/tests/tswap.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/ttan.c b/tests/ttan.c
index 40c1d562b..3eb619f5e 100644
--- a/tests/ttan.c
+++ b/tests/ttan.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_tan
diff --git a/tests/ttanh.c b/tests/ttanh.c
index 203e9763d..d98aea202 100644
--- a/tests/ttanh.c
+++ b/tests/ttanh.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_tanh
diff --git a/tests/ttrunc.c b/tests/ttrunc.c
index b95560d9a..5ebd2d196 100644
--- a/tests/ttrunc.c
+++ b/tests/ttrunc.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define SIZEX 100
diff --git a/tests/tui_div.c b/tests/tui_div.c
index 681323f55..251d2f176 100644
--- a/tests/tui_div.c
+++ b/tests/tui_div.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
/* checks that y/x gives the right result with 53 bits of precision */
diff --git a/tests/tui_pow.c b/tests/tui_pow.c
index 73ecf7f49..809a6946f 100644
--- a/tests/tui_pow.c
+++ b/tests/tui_pow.c
@@ -20,10 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tui_sub.c b/tests/tui_sub.c
index b53705094..e8c322078 100644
--- a/tests/tui_sub.c
+++ b/tests/tui_sub.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
#include <float.h>
#include "mpfr-test.h"
diff --git a/tests/turandom.c b/tests/turandom.c
index 96273c6a1..22a5fe076 100644
--- a/tests/turandom.c
+++ b/tests/turandom.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tversion.c b/tests/tversion.c
index 038641a6b..397efa9df 100644
--- a/tests/tversion.c
+++ b/tests/tversion.c
@@ -20,8 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/ty0.c b/tests/ty0.c
index 5be1216ea..fd0ba48ce 100644
--- a/tests/ty0.c
+++ b/tests/ty0.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_y0
diff --git a/tests/ty1.c b/tests/ty1.c
index a20a69c43..38583bdfa 100644
--- a/tests/ty1.c
+++ b/tests/ty1.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_y1
diff --git a/tests/tyn.c b/tests/tyn.c
index fadf42cc6..e8016e306 100644
--- a/tests/tyn.c
+++ b/tests/tyn.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
int
diff --git a/tests/tzeta.c b/tests/tzeta.c
index 188084fce..1e3d7d0cc 100644
--- a/tests/tzeta.c
+++ b/tests/tzeta.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
static void
diff --git a/tests/tzeta_ui.c b/tests/tzeta_ui.c
index 0f1696d8a..bcb3191a1 100644
--- a/tests/tzeta_ui.c
+++ b/tests/tzeta_ui.c
@@ -20,9 +20,6 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
-#include <stdio.h>
-#include <stdlib.h>
-
#include "mpfr-test.h"
#define TEST_FUNCTION mpfr_zeta_ui