diff --git a/test/crt-test.c b/test/crt-test.c index 7fd80b8..f05ae12 100644 --- a/test/crt-test.c +++ b/test/crt-test.c @@ -817,7 +817,8 @@ int main(int argc, char* argv[]) { TEST_FLT_ACCURACY(log2(F(7.8886e-31)), -100, 0.001); TEST_FLT_ACCURACY(log2(F(7.3468e-40)), -130, 0.001); #if !defined(__MINGW32__) || !defined(__arm__) - // on mingw-arm, this gives -inf + // In Wine on arm, the strtod() here returns 0 instead of + // the actual denormal value. TEST_FLT_ACCURACY(log2(F(9.8813e-324)), -1073, 0.001); #endif TEST_FLT_ACCURACY(log2(F(1.225000)), 0.292782, 0.001);