Fix epicsCalcTest for gcc 7.1.0 on minGW

Another case where the compile-time evaluation returns +1
but at run-time isnan() returns -1.
This commit is contained in:
Andrew Johnson
2018-06-29 15:03:45 -05:00
parent 8144d2ea01
commit f892731b3f
+1 -1
View File
@@ -391,7 +391,7 @@ MAIN(epicsCalcTest)
testExpr(isnan(0.));
testExpr(isnan(Inf));
testExpr(isnan(-Inf));
testExpr(isnan(NaN));
testExpr(!!isnan(NaN)); // As above
testCalc("isnan(0,1,2)", 0);
testCalc("isnan(0,1,NaN)", 1);
testCalc("isnan(0,NaN,2)", 1);