summaryrefslogtreecommitdiff
path: root/sqrt_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 16:45:05 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 16:45:05 +0000
commita6657aab07f494f3a2796346c34d7b3c04218731 (patch)
treebedf7c14a4cfe890272935eddd07713d3ef992c3 /sqrt_ui.c
parent8f93e232b461adb585ff7cc96c46a018afdcb378 (diff)
downloadmpfr-a6657aab07f494f3a2796346c34d7b3c04218731.tar.gz
_mp_d -> MPFR_MANT
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@880 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sqrt_ui.c')
-rw-r--r--sqrt_ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sqrt_ui.c b/sqrt_ui.c
index a7afb983a..9a1dd5549 100644
--- a/sqrt_ui.c
+++ b/sqrt_ui.c
@@ -19,7 +19,8 @@ along with the MPFR Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
-#define MON_INIT(xp, x, p, s) xp = (mp_ptr) TMP_ALLOC(s*BYTES_PER_MP_LIMB); x -> _mp_prec = p; x -> _mp_d = xp; x -> _mp_size = s;
+#define MON_INIT(xp, x, p, s) xp = (mp_ptr) TMP_ALLOC(s*BYTES_PER_MP_LIMB); \
+ MPFR_PREC(x) = p; MPFR_MANT(x) = xp; x -> _mp_size = s;
#include <math.h>
#include <stdio.h>