diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-15 16:23:08 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-15 16:23:08 +0000 |
commit | feacaa1dfc1b577be8187b3504f0619651e3e15f (patch) | |
tree | 2bf60b348d7f9d8992482cde339bfca4046c4cda /agm.c | |
parent | 2df5f931ae3b53bee22a10311fef871f2ffc8888 (diff) | |
download | mpfr-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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__ |