summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mpc-impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpc-impl.h b/src/mpc-impl.h
index 5420691..6af2594 100644
--- a/src/mpc-impl.h
+++ b/src/mpc-impl.h
@@ -61,9 +61,9 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
mpfr_copysign (x, y, z, rnd))
/* work around spurious signs in nan */
#define MPFR_ADD_ONE_ULP(x) \
- (mpfr_sgn (x) > 0 ? mpfr_nextabove (x) : mpfr_nextbelow (x))
+ (MPFR_SIGN (x) > 0 ? mpfr_nextabove (x) : mpfr_nextbelow (x))
#define MPFR_SUB_ONE_ULP(x) \
- (mpfr_sgn (x) > 0 ? mpfr_nextbelow (x) : mpfr_nextabove (x))
+ (MPFR_SIGN (x) > 0 ? mpfr_nextbelow (x) : mpfr_nextabove (x))
/* drop unused rounding mode from macros */
#define MPFR_SWAP(a,b) do { mpfr_srcptr tmp; tmp = a; a = b; b = tmp; } while (0)