From 8cbdd0c9b4f237f014e42ad0191117a5e8e55b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 18 Apr 2019 22:38:48 +0300 Subject: [PATCH] crt-test: Clarify a comment about a workaround --- test/crt-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);