summaryrefslogtreecommitdiff
path: root/src/rec_sqrt.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-02-09 14:15:10 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-02-09 14:15:10 +0000
commit06f792151f80bd77aff32929459b489711052b1d (patch)
tree517526ff6454637c0ba759c4b141a0f937be5473 /src/rec_sqrt.c
parent43a3ef61e0d28a139e199ac8137ea641b30f0a5c (diff)
downloadmpfr-06f792151f80bd77aff32929459b489711052b1d.tar.gz
Added new types mpfr_limb_ptr and mpfr_limb_srcptr to src/mpfr-impl.h,
and replaced mp_ptr and mp_srcptr (GMP internals) by these 2 new types respectively. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7455 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/rec_sqrt.c')
-rw-r--r--src/rec_sqrt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rec_sqrt.c b/src/rec_sqrt.c
index ef49bd2fb..1450cc52d 100644
--- a/src/rec_sqrt.c
+++ b/src/rec_sqrt.c
@@ -70,8 +70,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
http://www.loria.fr/~zimmerma/mca/pub226.html
*/
static void
-mpfr_mpn_rec_sqrt (mp_ptr x, mpfr_prec_t p,
- mp_srcptr a, mpfr_prec_t ap, int as)
+mpfr_mpn_rec_sqrt (mpfr_limb_ptr x, mpfr_prec_t p,
+ mpfr_limb_srcptr a, mpfr_prec_t ap, int as)
{
/* the following T1 and T2 are bipartite tables giving initial
@@ -192,7 +192,7 @@ mpfr_mpn_rec_sqrt (mp_ptr x, mpfr_prec_t p,
else /* p >= 12 */
{
mpfr_prec_t h, pl;
- mp_ptr r, s, t, u;
+ mpfr_limb_ptr r, s, t, u;
mp_size_t xn, rn, th, ln, tn, sn, ahn, un;
mp_limb_t neg, cy, cu;
MPFR_TMP_DECL(marker);
@@ -421,7 +421,7 @@ mpfr_rec_sqrt (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
mpfr_prec_t rp, up, wp;
mp_size_t rn, wn;
int s, cy, inex;
- mp_ptr x;
+ mpfr_limb_ptr x;
MPFR_TMP_DECL(marker);
MPFR_LOG_FUNC (("x[%#R]=%R rnd=%d", u, u, rnd_mode),