summaryrefslogtreecommitdiff
path: root/agm.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 16:23:08 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 16:23:08 +0000
commitfeacaa1dfc1b577be8187b3504f0619651e3e15f (patch)
tree2bf60b348d7f9d8992482cde339bfca4046c4cda /agm.c
parent2df5f931ae3b53bee22a10311fef871f2ffc8888 (diff)
downloadmpfr-feacaa1dfc1b577be8187b3504f0619651e3e15f.tar.gz
_mp_prec -> MPFR_PREC
_mp_d -> MPFR_MANT git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@873 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'agm.c')
-rw-r--r--agm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/agm.c b/agm.c
index ae1fddfad..2ed319bed 100644
--- a/agm.c
+++ b/agm.c
@@ -26,7 +26,8 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
/*Memory gestion */
-#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; x -> _mp_exp = 0;
+#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; x -> _mp_exp = 0;
void
#ifdef __STDC__