diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-01-17 20:29:58 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2002-01-17 20:29:58 +0000 |
commit | d2d5332e05f51800258e6b72d32bbbe25d0efc0f (patch) | |
tree | 1b2c62c4254670c8ae5b93bea1c7e58ab5a53bcf /tests | |
parent | db2855cb9cd5ad14b6e7ad3da11b6b427acd9444 (diff) | |
download | mpfr-d2d5332e05f51800258e6b72d32bbbe25d0efc0f.tar.gz |
#include fixes (Torbjorn Granlund).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1653 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tacosh.c | 5 | ||||
-rw-r--r-- | tests/tasin.c | 5 | ||||
-rw-r--r-- | tests/tasinh.c | 5 | ||||
-rw-r--r-- | tests/tatan.c | 5 | ||||
-rw-r--r-- | tests/tatanh.c | 5 | ||||
-rw-r--r-- | tests/tcos.c | 1 | ||||
-rw-r--r-- | tests/tcosh.c | 5 | ||||
-rw-r--r-- | tests/texceptions.c | 4 | ||||
-rw-r--r-- | tests/texp2.c | 5 | ||||
-rw-r--r-- | tests/texpm1.c | 5 | ||||
-rw-r--r-- | tests/tfma.c | 5 | ||||
-rw-r--r-- | tests/thyperbolic.c | 8 | ||||
-rw-r--r-- | tests/thypot.c | 5 | ||||
-rw-r--r-- | tests/tlog10.c | 5 | ||||
-rw-r--r-- | tests/tlog1p.c | 5 | ||||
-rw-r--r-- | tests/tlog2.c | 5 | ||||
-rw-r--r-- | tests/tpow3.c | 5 | ||||
-rw-r--r-- | tests/tset_f.c | 1 | ||||
-rw-r--r-- | tests/tset_si.c | 3 | ||||
-rw-r--r-- | tests/tset_str.c | 3 | ||||
-rw-r--r-- | tests/tsin.c | 1 | ||||
-rw-r--r-- | tests/tsinh.c | 5 | ||||
-rw-r--r-- | tests/ttan.c | 1 | ||||
-rw-r--r-- | tests/ttanh.c | 5 | ||||
-rw-r--r-- | tests/tui_pow.c | 5 |
25 files changed, 65 insertions, 42 deletions
diff --git a/tests/tacosh.c b/tests/tacosh.c index a3b7aaf0f..e8a515989 100644 --- a/tests/tacosh.c +++ b/tests/tacosh.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_acosh #define RAND_FUNCTION(x) (mpfr_random (x), mpfr_ui_div (x, 1, x, GMP_RNDN)) diff --git a/tests/tasin.c b/tests/tasin.c index f2ed0e51e..b5fe91dac 100644 --- a/tests/tasin.c +++ b/tests/tasin.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" int main (void) diff --git a/tests/tasinh.c b/tests/tasinh.c index 8c74d12d6..f41bbd8b9 100644 --- a/tests/tasinh.c +++ b/tests/tasinh.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_asinh #include "tgeneric.c" diff --git a/tests/tatan.c b/tests/tatan.c index 3acb61dea..7fb8cc365 100644 --- a/tests/tatan.c +++ b/tests/tatan.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" void worst_cases _PROTO((void)); int mpfr_arctan_aux2 _PROTO((mpfr_ptr, mpfr_srcptr, mp_rnd_t)); diff --git a/tests/tatanh.c b/tests/tatanh.c index 9bd2b4a39..91469a11a 100644 --- a/tests/tatanh.c +++ b/tests/tatanh.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_atanh #include "tgeneric.c" diff --git a/tests/tcos.c b/tests/tcos.c index eb19b9d67..f50767500 100644 --- a/tests/tcos.c +++ b/tests/tcos.c @@ -24,6 +24,7 @@ MA 02111-1307, USA. */ #include <math.h> #include "gmp.h" #include "mpfr.h" +#include "mpfr-test.h" void check53 _PROTO ((double, double, mp_rnd_t)); diff --git a/tests/tcosh.c b/tests/tcosh.c index 4ead3b465..44421b380 100644 --- a/tests/tcosh.c +++ b/tests/tcosh.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_cosh #include "tgeneric.c" diff --git a/tests/texceptions.c b/tests/texceptions.c index 91a0790dd..ed981ba7a 100644 --- a/tests/texceptions.c +++ b/tests/texceptions.c @@ -21,8 +21,8 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" void mpfr_set_double_range _PROTO((void)); diff --git a/tests/texp2.c b/tests/texp2.c index 567ce4631..7b9487c45 100644 --- a/tests/texp2.c +++ b/tests/texp2.c @@ -22,10 +22,11 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> +#include "gmp.h" #include "gmp-impl.h" -#include <mpfr.h> +#include "mpfr.h" #include "mpfr-impl.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_exp2 #include "tgeneric.c" diff --git a/tests/texpm1.c b/tests/texpm1.c index b57ff9d0e..f05f7d22a 100644 --- a/tests/texpm1.c +++ b/tests/texpm1.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_expm1 #include "tgeneric.c" diff --git a/tests/tfma.c b/tests/tfma.c index 137d6c190..d661e78a1 100644 --- a/tests/tfma.c +++ b/tests/tfma.c @@ -23,10 +23,11 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <limits.h> #include <stdlib.h> -#include <gmp.h> +#include "gmp.h" #include "gmp-impl.h" -#include <mpfr.h> +#include "mpfr.h" #include "mpfr-impl.h" +#include "mpfr-test.h" int diff --git a/tests/thyperbolic.c b/tests/thyperbolic.c index 92b2119c6..5018d515d 100644 --- a/tests/thyperbolic.c +++ b/tests/thyperbolic.c @@ -19,10 +19,10 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <stdio.h> -#include <gmp.h> -#include <gmp-impl.h> -#include <mpfr.h> -#include <mpfr-impl.h> +#include "gmp.h" +#include "gmp-impl.h" +#include "mpfr.h" +#include "mpfr-impl.h" int check_O _PROTO((void)); diff --git a/tests/thypot.c b/tests/thypot.c index 3e78928a6..42621c3e6 100644 --- a/tests/thypot.c +++ b/tests/thypot.c @@ -23,10 +23,11 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <limits.h> #include <stdlib.h> -#include <gmp.h> +#include "gmp.h" #include "gmp-impl.h" -#include <mpfr.h> +#include "mpfr.h" #include "mpfr-impl.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_hypot diff --git a/tests/tlog10.c b/tests/tlog10.c index 9e5fd769d..6d134321b 100644 --- a/tests/tlog10.c +++ b/tests/tlog10.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_log10 #include "tgeneric.c" diff --git a/tests/tlog1p.c b/tests/tlog1p.c index 7e6fb5f84..9716f2e9c 100644 --- a/tests/tlog1p.c +++ b/tests/tlog1p.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_log1p #include "tgeneric.c" diff --git a/tests/tlog2.c b/tests/tlog2.c index fa778c652..efe4f53a5 100644 --- a/tests/tlog2.c +++ b/tests/tlog2.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_log2 #include "tgeneric.c" diff --git a/tests/tpow3.c b/tests/tpow3.c index 6c2a3c691..12b945e55 100644 --- a/tests/tpow3.c +++ b/tests/tpow3.c @@ -23,10 +23,11 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <limits.h> #include <stdlib.h> -#include <gmp.h> +#include "gmp.h" #include "gmp-impl.h" -#include <mpfr.h> +#include "mpfr.h" #include "mpfr-impl.h" +#include "mpfr-test.h" int diff --git a/tests/tset_f.c b/tests/tset_f.c index 08570c964..59af6a940 100644 --- a/tests/tset_f.c +++ b/tests/tset_f.c @@ -24,6 +24,7 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "mpfr.h" #include "time.h" +#include "mpfr-test.h" int main (void) diff --git a/tests/tset_si.c b/tests/tset_si.c index e84b633b3..17ef0af63 100644 --- a/tests/tset_si.c +++ b/tests/tset_si.c @@ -21,10 +21,11 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> +#include <time.h> #include "gmp.h" #include "mpfr.h" #include "mpfr-impl.h" -#include "time.h" +#include "mpfr-test.h" int main (int argc, char *argv[]) diff --git a/tests/tset_str.c b/tests/tset_str.c index a26509da5..0477fcef3 100644 --- a/tests/tset_str.c +++ b/tests/tset_str.c @@ -22,10 +22,11 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include "gmp.h" #include "mpfr.h" #include "mpfr-impl.h" -#include <time.h> +#include "mpfr-test.h" int main (int argc, char *argv[]) diff --git a/tests/tsin.c b/tests/tsin.c index 29d9a6b48..ec063a136 100644 --- a/tests/tsin.c +++ b/tests/tsin.c @@ -24,6 +24,7 @@ MA 02111-1307, USA. */ #include <math.h> #include "gmp.h" #include "mpfr.h" +#include "mpfr-test.h" void check53 _PROTO ((double, double, mp_rnd_t)); diff --git a/tests/tsinh.c b/tests/tsinh.c index cdd9c585c..d1cd127cd 100644 --- a/tests/tsinh.c +++ b/tests/tsinh.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_sinh #include "tgeneric.c" diff --git a/tests/ttan.c b/tests/ttan.c index d77614058..eb2cf3859 100644 --- a/tests/ttan.c +++ b/tests/ttan.c @@ -24,6 +24,7 @@ MA 02111-1307, USA. */ #include <math.h> #include "gmp.h" #include "mpfr.h" +#include "mpfr-test.h" void check53 _PROTO ((double, double, mp_rnd_t)); diff --git a/tests/ttanh.c b/tests/ttanh.c index 90b7c23ae..0a1fad746 100644 --- a/tests/ttanh.c +++ b/tests/ttanh.c @@ -22,8 +22,9 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> -#include <mpfr.h> +#include "gmp.h" +#include "mpfr.h" +#include "mpfr-test.h" #define TEST_FUNCTION mpfr_tanh #include "tgeneric.c" diff --git a/tests/tui_pow.c b/tests/tui_pow.c index 42dd13739..058c5b1c7 100644 --- a/tests/tui_pow.c +++ b/tests/tui_pow.c @@ -22,10 +22,11 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include <gmp.h> +#include "gmp.h" #include "gmp-impl.h" -#include <mpfr.h> +#include "mpfr.h" #include "mpfr-impl.h" +#include "mpfr-test.h" int |