summaryrefslogtreecommitdiff
path: root/tests/tfma.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/tfma.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/tfma.c')
-rw-r--r--tests/tfma.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/tfma.c b/tests/tfma.c
index aa02ec43a..4a17d030d 100644
--- a/tests/tfma.c
+++ b/tests/tfma.c
@@ -23,12 +23,8 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
-#include "gmp.h"
-#include "gmp-impl.h"
-#include "mpfr.h"
-#include "mpfr-impl.h"
-#include "mpfr-test.h"
+#include "mpfr-test.h"
int
main (int argc, char *argv[])
@@ -245,9 +241,8 @@ main (int argc, char *argv[])
int inexact, compare;
unsigned int n;
- int p0=2;
- int p1=200;
- int N=200;
+ mp_prec_t p0=2, p1=200;
+ unsigned int N=200;
mpfr_init (t);
mpfr_init (slong);