Piotr Caban (@piotr) commented about dlls/msvcr120/tests/msvcr120.c:
- errno_t e;
- float r;
- int i;
- __setusermatherr(matherr_callback);
- for(i=0; i<ARRAY_SIZE(tests); i++) {
errno = -1;
exception.type = -1;
r = expf(tests[i].x);
e = errno;
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 */
```suggestion:-0+0 ok(isinf(r)... ```
After moving the tests to ucrtbase `|| r == 0.0f` part will not be needed.