diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-11 16:09:29 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-11 16:09:29 +0000 |
commit | 6da2e2ea44628fb6b960826abcd922151a249fa1 (patch) | |
tree | d6787ee5c503437ab7b09b7dc8f4e4acf7a492af /src/sqrt.c | |
parent | c8bac977892250a6ef84841de250ad3b4da801be (diff) | |
download | mpc-6da2e2ea44628fb6b960826abcd922151a249fa1.tar.gz |
replaced the few trailing mp_rnd_t by mpfr_rnd_t
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@778 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
@@ -26,7 +26,7 @@ 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; + mpfr_rnd_t rnd_w, rnd_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 */ @@ -206,7 +206,7 @@ mpc_sqrt (mpc_ptr a, mpc_srcptr b, mpc_rnd_t rnd) { /* t = y / 2w, rounded away */ /* total error bounded by 7 ulps */ - const mp_rnd_t r = im_sgn ? GMP_RNDD : GMP_RNDU; + const mpfr_rnd_t r = im_sgn ? GMP_RNDD : GMP_RNDU; inex_t = mpfr_div (t, MPC_IM (b), w, r); inex_t |= mpfr_div_2ui (t, t, 1, r); ok_t = mpfr_can_round (t, prec - 3, r, GMP_RNDZ, |