crt-test: Clarify a comment about a workaround
This commit is contained in:
1 parent
0e7e0fe397
commit
8cbdd0c9b4
1 file changed
+2
-1
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user