We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c82a47 commit e633b48Copy full SHA for e633b48
test/crt-test.c
@@ -749,6 +749,13 @@ void test_parse_numbers() {
749
750
TEST_STRTOD_64B_RANGE(strtod, );
751
#ifndef MSVCRT_DLL_NOANSI
752
+ // This test fails on msvcrt.dll when not using -D__USE_MINGW_ANSI_STDIO=1
753
+ // (which sets __USE_MINGW_STRTOX), hence the ifdef.
754
+ //
755
+ // When using the mingw provided wcstod on x86, this test succeeds (and
756
+ // thus is included). But when running such a binary emulated on ARM, this
757
+ // particular test fails, as the range checks in __mingw_wcstod rely on
758
+ // 80 bit long doubles really having more precision than 64 bit doubles.
759
TEST_STRTOD_64B_RANGE(wcstod, L);
760
#endif
761
0 commit comments