Piotr Caban (@piotr) commented about dlls/msvcr120/tests/msvcr120.c:
if(isnan(tests[i].exp))
ok(isnan(r), "expected NAN, got %0.7e for %d\n", r, i);
else if(isinf(tests[i].exp))
ok(isinf(tests[i].exp) || r == 0.0f, /* 64-bit vs 32-bit windows */
"failed for %d\n", i);
else{
ok(compare_float(r, tests[i].exp, 7),
"expected %0.7e, got %0.7e for %d\n", tests[i].exp, r, i);
ok(signbit(r) == signbit(tests[i].exp),
"expected sign %x, got %x for %d\n", signbit(tests[i].exp), signbit(r), i);
}
/* differs on windows 32-bit/64-bit */
ok(e == tests[i].e || e == -1,
"expected errno %d, but got %d for %d\n", tests[i].e, e, i);
Could you please change the condition to something like:
```c ok(e == tests[i].e ? tests[i].e : -1, ...) ```
You may need to tune the condition to account for differences in native behavior.