summaryrefslogtreecommitdiff
path: root/tests/tget_flt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tget_flt.c')
-rw-r--r--tests/tget_flt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tget_flt.c b/tests/tget_flt.c
index 20f03ef40..e1faad6b2 100644
--- a/tests/tget_flt.c
+++ b/tests/tget_flt.c
@@ -42,7 +42,7 @@ equal_flt (float f, float g)
mpfr_set_flt (z, g, MPFR_RNDN);
sg = mpfr_signbit (z);
mpfr_clear (z);
- return sf == sg;
+ return !sf == !sg;
}
}