diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-15 16:45:05 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-15 16:45:05 +0000 |
commit | a6657aab07f494f3a2796346c34d7b3c04218731 (patch) | |
tree | bedf7c14a4cfe890272935eddd07713d3ef992c3 /sqrt_ui.c | |
parent | 8f93e232b461adb585ff7cc96c46a018afdcb378 (diff) | |
download | mpfr-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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> |