diff options
-rw-r--r-- | tests/tgeneric.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tgeneric.c b/tests/tgeneric.c index 3c2803a1e..9cfc12092 100644 --- a/tests/tgeneric.c +++ b/tests/tgeneric.c @@ -220,12 +220,12 @@ test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int N) d = mpfr_get_d (u, rnd); compare = TEST_FUNCTION (y, d, x, rnd); /* d can be infinite due to overflow in mpfr_get_d */ - infinite_input |= ! DOUBLE_ISINF (d); + infinite_input |= DOUBLE_ISINF (d); #elif defined(DOUBLE_ARG2) d = mpfr_get_d (u, rnd); compare = TEST_FUNCTION (y, x, d, rnd); /* d can be infinite due to overflow in mpfr_get_d */ - infinite_input |= ! DOUBLE_ISINF (d); + infinite_input |= DOUBLE_ISINF (d); #else compare = TEST_FUNCTION (y, x, rnd); #endif |