summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-25 10:13:26 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-25 10:13:26 +0000
commit2f81b7c7faa4a8ed22c5ec9a593c3e6c097957e6 (patch)
tree069412e12a339ea01e21234a43289a2b74a6c8f1
parentf888d3ef8374d87e682264a6b0b41b84ca7ba6ac (diff)
downloadmpfr-2f81b7c7faa4a8ed22c5ec9a593c3e6c097957e6.tar.gz
[mpfr.h, stack_interface.c] Changed mpfr_custom_get_mantissa into
mpfr_custom_get_significand (r6862 was incomplete). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6866 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--mpfr.h4
-rw-r--r--stack_interface.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/mpfr.h b/mpfr.h
index 11a481303..987b7f960 100644
--- a/mpfr.h
+++ b/mpfr.h
@@ -709,7 +709,7 @@ __MPFR_DECLSPEC int mpfr_strtofr _MPFR_PROTO ((mpfr_ptr, __gmp_const char *,
__MPFR_DECLSPEC size_t mpfr_custom_get_size _MPFR_PROTO ((mpfr_prec_t));
__MPFR_DECLSPEC void mpfr_custom_init _MPFR_PROTO ((void *, mpfr_prec_t));
-__MPFR_DECLSPEC void * mpfr_custom_get_mantissa _MPFR_PROTO ((mpfr_srcptr));
+__MPFR_DECLSPEC void * mpfr_custom_get_significand _MPFR_PROTO ((mpfr_srcptr));
__MPFR_DECLSPEC mpfr_exp_t mpfr_custom_get_exp _MPFR_PROTO ((mpfr_srcptr));
__MPFR_DECLSPEC void mpfr_custom_move _MPFR_PROTO ((mpfr_ptr, void *));
__MPFR_DECLSPEC void mpfr_custom_init_set _MPFR_PROTO ((mpfr_ptr, int,
@@ -837,7 +837,7 @@ __MPFR_DECLSPEC int mpfr_custom_get_kind _MPFR_PROTO ((mpfr_srcptr));
#define mpfr_custom_get_size(p) ((size_t) \
(((p)+GMP_NUMB_BITS-1)/GMP_NUMB_BITS*sizeof (mp_limb_t)))
#define mpfr_custom_init(m,p) do {} while (0)
-#define mpfr_custom_get_mantissa(x) ((void*)((x)->_mpfr_d))
+#define mpfr_custom_get_significand(x) ((void*)((x)->_mpfr_d))
#define mpfr_custom_get_exp(x) ((x)->_mpfr_exp)
#define mpfr_custom_move(x,m) do { ((x)->_mpfr_d = (mp_limb_t*)(m)); } while (0)
#define mpfr_custom_init_set(x,k,e,p,m) do { \
diff --git a/stack_interface.c b/stack_interface.c
index 1bcc91bb1..54282b6c7 100644
--- a/stack_interface.c
+++ b/stack_interface.c
@@ -36,9 +36,9 @@ mpfr_custom_init (void *mantissa, mpfr_prec_t prec)
return ;
}
-#undef mpfr_custom_get_mantissa
+#undef mpfr_custom_get_significand
void *
-mpfr_custom_get_mantissa (mpfr_srcptr x)
+mpfr_custom_get_significand (mpfr_srcptr x)
{
return (void*) MPFR_MANT (x);
}