summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-23 15:40:48 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-03-23 15:40:48 +0000
commitfa566aacd1fe6060d87e27cfc5b5df6b38a3c9ac (patch)
tree80716bc62798976af25ad4667e92c7a6ac0dfc04 /src
parente4adaf82533039109881b3db5823ce0daf810a96 (diff)
downloadmpfr-fa566aacd1fe6060d87e27cfc5b5df6b38a3c9ac.tar.gz
[src/mpfr-impl.h] UBF: reordered macro definitions.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13800 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r--src/mpfr-impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index c98f6ab38..4465b96eb 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -2594,14 +2594,14 @@ __MPFR_DECLSPEC mpfr_exp_t mpfr_ubf_diff_exp (mpfr_srcptr, mpfr_srcptr);
((void) (x)->_mpfr_exp, \
((mpfr_ubf_ptr) (x))->_mpfr_zexp)
+/* If x is a UBF, clear its mpz_t exponent. */
+#define MPFR_UBF_CLEAR_EXP(x) \
+ ((void) (MPFR_IS_UBF (x) && (mpz_clear (MPFR_ZEXP (x)), 0)))
+
/* Like MPFR_GET_EXP, but accepts UBF (with exponent saturated to
the interval [MPFR_EXP_MIN,MPFR_EXP_MAX]). */
#define MPFR_UBF_GET_EXP(x) \
(MPFR_IS_UBF (x) ? mpfr_ubf_zexp2exp (MPFR_ZEXP (x)) : \
MPFR_GET_EXP ((mpfr_ptr) (x)))
-/* If x is a UBF, clear its mpz_t exponent. */
-#define MPFR_UBF_CLEAR_EXP(x) \
- ((void) (MPFR_IS_UBF (x) && (mpz_clear (MPFR_ZEXP (x)), 0)))
-
#endif /* __MPFR_IMPL_H__ */