diff options
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r-- | src/mpfr-impl.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index d035c349c..95c44ebfd 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -581,8 +581,8 @@ __MPFR_DECLSPEC extern const mpfr_t __gmpfr_const_log2_RNDU; # endif #endif -/* With -DXDEBUG, exercise non IEEE floats */ -#ifdef XDEBUG +/* With -DMPFR_DISABLE_IEEE_FLOATS, exercise non IEEE floats */ +#ifdef MPFR_DISABLE_IEEE_FLOATS # ifdef _MPFR_IEEE_FLOATS # undef _MPFR_IEEE_FLOATS # endif @@ -1397,16 +1397,6 @@ do { \ } \ while (0) -/* Use it only for debug reasons */ -/* MPFR_TRACE (operation) : execute operation iff DEBUG flag is set */ -/* MPFR_DUMP (x) : print x (a mpfr_t) on stdout */ -#ifdef DEBUG -# define MPFR_TRACE(x) x -#else -# define MPFR_TRACE(x) (void) 0 -#endif -#define MPFR_DUMP(x) ( printf(#x"="), mpfr_dump(x) ) - /* Test if X (positive) is a power of 2 */ #define IS_POW2(X) (((X) & ((X) - 1)) == 0) #define NOT_POW2(X) (((X) & ((X) - 1)) != 0) |