Adjust test 66 so it doesn't fail if the gcc optimizer result gives -1 but

glibc returns +1.  Both are correct, gcc is following a newer standard.
This commit is contained in:
Andrew Johnson
2009-08-21 14:49:01 +00:00
parent bd4784a858
commit c28520bea6
+1 -1
View File
@@ -281,7 +281,7 @@ MAIN(epicsCalcTest)
testCalc("finite(-Inf,1,2)", 0);
testExpr(isinf(0));
testExpr(isinf(Inf));
testExpr(isinf(-Inf));
testExpr(!!isinf(-Inf)); // Some GCCs return -1/0/+1 rather than 0/+1
testExpr(isinf(NaN));
testExpr(isnan(0));
testExpr(isnan(Inf));