diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-12-20 00:22:58 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-12-20 00:22:58 +0100 |
commit | 0f8902cf6361ac248827c174e5057cc028b56568 (patch) | |
tree | dd74e28772eb9c09dca7dc7c84b8c61db411cc3b /mpfr/tests/tsin_cos.c | |
parent | 55ef89b3f254f921cb90b5eba0c154b929c4c4e9 (diff) | |
download | gmp-0f8902cf6361ac248827c174e5057cc028b56568.tar.gz |
* mpfr/*: Update to mpfr cvs head 2003-12-20.
Diffstat (limited to 'mpfr/tests/tsin_cos.c')
-rw-r--r-- | mpfr/tests/tsin_cos.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mpfr/tests/tsin_cos.c b/mpfr/tests/tsin_cos.c index c695c98a5..e59570fff 100644 --- a/mpfr/tests/tsin_cos.c +++ b/mpfr/tests/tsin_cos.c @@ -21,10 +21,7 @@ MA 02111-1307, USA. */ #include <stdio.h> #include <stdlib.h> -#include "gmp.h" -#include "gmp-impl.h" -#include "mpfr.h" -#include "mpfr-impl.h" + #include "mpfr-test.h" static void @@ -36,7 +33,7 @@ large_test (int prec, int N) mpfr_init2 (x, prec); mpfr_init2 (s, prec); mpfr_init2 (c, prec); - mpfr_set_d (x, 3.0, GMP_RNDN); + mpfr_set_ui (x, 3, GMP_RNDN); mpfr_sqrt (x, x, GMP_RNDN); for (i=0; i<N; i++) mpfr_sin_cos (s, c, x, GMP_RNDN); mpfr_out_str (stdout, 10, 0, s, GMP_RNDN); puts (""); |