summaryrefslogtreecommitdiff
path: root/testasmcomp/mainarith.c
diff options
context:
space:
mode:
Diffstat (limited to 'testasmcomp/mainarith.c')
-rw-r--r--testasmcomp/mainarith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testasmcomp/mainarith.c b/testasmcomp/mainarith.c
index fc84e5ad24..987ee06037 100644
--- a/testasmcomp/mainarith.c
+++ b/testasmcomp/mainarith.c
@@ -26,7 +26,7 @@ double f, g;
}
#define FLOATTEST(arg,res) \
{ double result = (res); \
- if (arg != result) \
+ if (arg < result || arg > result) \
printf("Failed test \"%s == %s\" for f=%g and g=%g: result %e, expected %e\n", \
#arg, #res, f, g, arg, result); \
}