summaryrefslogtreecommitdiff
path: root/tests/tui_pow.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-12-15 14:39:35 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-12-15 14:39:35 +0000
commit2c85730f36ac232ff81bda66687af824546a81c7 (patch)
tree686c58a7b3d868f56d430a31800748713801680e /tests/tui_pow.c
parentc0fca7cac78d758cb0bb6eaaad5f4463b96bd376 (diff)
downloadmpfr-2c85730f36ac232ff81bda66687af824546a81c7.tar.gz
+ Optimize a few div.c
+ Remove some warnings in asin.c, atan.c. + Include limits.h before gmp-impl.h in mpfr-impl.h + mpfr-tests.h doesn't include anumore standard include files. + Test files include only standard includes and mpfr-tests.h. + Add some forgotten mpfr_clear in mpf[r]_compat. + Remove some warnings in the tests. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2576 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tui_pow.c')
-rw-r--r--tests/tui_pow.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/tui_pow.c b/tests/tui_pow.c
index d072c2810..249a020e5 100644
--- a/tests/tui_pow.c
+++ b/tests/tui_pow.c
@@ -23,10 +23,7 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
-#include "gmp.h"
-#include "gmp-impl.h"
-#include "mpfr.h"
-#include "mpfr-impl.h"
+
#include "mpfr-test.h"
static void
@@ -167,9 +164,8 @@ main (int argc, char *argv[])
mp_rnd_t rnd;
unsigned int n;
- int p0=2;
- int p1=100;
- int N=20;
+ mp_prec_t p0=2, p1=100;
+ unsigned int N=20;
mpfr_init2 (z, 38);
mpfr_init2 (t, 6);