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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user