diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-11 15:48:58 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-11 15:48:58 +0000 |
commit | e96430e22b53d031f7570e779d115442e418f77e (patch) | |
tree | 1b35411344e8bc8d78f8185b9f79ce888d5bacc1 /src/sqrt.c | |
parent | 8d6cc9db85ec747a9fab063400f7affa3c7e05e1 (diff) | |
download | mpc-e96430e22b53d031f7570e779d115442e418f77e.tar.gz |
replaced mp_prec_t by mpfr_prec_t; compatibility with mpfr>=2.3.1
is preserved, since it already defines mpfr_prec_t
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@776 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/sqrt.c')
-rw-r--r-- | src/sqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,10 +27,10 @@ mpc_sqrt (mpc_ptr a, mpc_srcptr b, mpc_rnd_t rnd) int ok_w, ok_t = 0; mpfr_t w, t; mp_rnd_t rnd_w, rnd_t; - mp_prec_t prec_w, prec_t; + mpfr_prec_t prec_w, prec_t; /* the rounding mode and the precision required for w and t, which can */ /* be either the real or the imaginary part of a */ - mp_prec_t prec; + mpfr_prec_t prec; int inex_w, inex_t = 1, inex, loops = 0; /* comparison of the real/imaginary part of b with 0 */ const int re_cmp = mpfr_cmp_ui (MPC_RE (b), 0); |