diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-18 09:02:00 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-18 09:02:00 +0000 |
commit | 9c94b291ca1c5929ce7ca2927f7506045278cdc0 (patch) | |
tree | cb2b32a4711bcfd793f8a30fc60de441bc47ee6c /tests/tsqrt_ui.c | |
parent | 177371d41c4d432af5863e7c053d3e6439e6283d (diff) | |
download | mpfr-9c94b291ca1c5929ce7ca2927f7506045278cdc0.tar.gz |
changed name of mpfr struct fields: _mp_d -> _mpfr_d
(to detect conflicts with mpf)
fixed a few problems in non-STDC headers
moved definitions of mpfr-impl.h to mpfr-test.h and created a real mpfr-impl.h
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@897 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt_ui.c')
-rw-r--r-- | tests/tsqrt_ui.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/tsqrt_ui.c b/tests/tsqrt_ui.c index 08115bff1..699314247 100644 --- a/tests/tsqrt_ui.c +++ b/tests/tsqrt_ui.c @@ -25,17 +25,13 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" #include "mpfr.h" -#include "mpfr-impl.h" -#ifdef __mips -#include <sys/fpu.h> -#endif +#include "mpfr-test.h" extern int isnan(), getpid(); int maxulp=0; -void check(a, rnd_mode, Q) -unsigned long a; unsigned char rnd_mode; double Q; +void check (unsigned long a, unsigned char rnd_mode, double Q) { mpfr_t q; double Q2; int u, ck; |