Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45631 Signed-off-by: Zebediah Figura z.figura12@gmail.com --- configure.ac | 2 + .../api-ms-win-crt-math-l1-1-0.spec | 6 +- dlls/msvcr120/msvcr120.spec | 6 +- dlls/msvcr120/tests/msvcr120.c | 89 +++++++++++++++++++ dlls/msvcr120_app/msvcr120_app.spec | 6 +- dlls/msvcrt/math.c | 30 +++++++ dlls/ucrtbase/ucrtbase.spec | 6 +- 7 files changed, 133 insertions(+), 12 deletions(-)
diff --git a/configure.ac b/configure.ac index 1db7af9177..907fac2f71 100644 --- a/configure.ac +++ b/configure.ac @@ -2746,6 +2746,8 @@ AC_CHECK_FUNCS(\ lroundf \ nearbyint \ nearbyintf \ + nexttoward \ + nexttowardf \ powl \ remainder \ remainderf \ diff --git a/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec b/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec index 0d645e5587..f5e4fb1f8f 100644 --- a/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec +++ b/dlls/api-ms-win-crt-math-l1-1-0/api-ms-win-crt-math-l1-1-0.spec @@ -297,9 +297,9 @@ @ cdecl nextafter(double double) ucrtbase.nextafter @ cdecl nextafterf(float float) ucrtbase.nextafterf @ cdecl nextafterl(double double) ucrtbase.nextafterl -@ stub nexttoward -@ stub nexttowardf -@ stub nexttowardl +@ cdecl nexttoward(double double) ucrtbase.nexttoward +@ cdecl nexttowardf(float double) ucrtbase.nexttowardf +@ cdecl nexttowardl(double double) ucrtbase.nexttowardl @ stub norm @ stub normf @ stub norml diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec index c9547bcbdf..e2764dc46e 100644 --- a/dlls/msvcr120/msvcr120.spec +++ b/dlls/msvcr120/msvcr120.spec @@ -2302,9 +2302,9 @@ @ cdecl nextafter(double double) MSVCRT__nextafter @ cdecl nextafterf(float float) MSVCRT__nextafterf @ cdecl nextafterl(double double) MSVCRT__nextafter -@ stub nexttoward -@ stub nexttowardf -@ stub nexttowardl +@ cdecl nexttoward(double double) MSVCRT_nexttoward +@ cdecl nexttowardf(float double) MSVCRT_nexttowardf +@ cdecl nexttowardl(double double) MSVCRT_nexttoward @ stub norm @ stub normf @ stub norml diff --git a/dlls/msvcr120/tests/msvcr120.c b/dlls/msvcr120/tests/msvcr120.c index 79b667e42b..4115c99503 100644 --- a/dlls/msvcr120/tests/msvcr120.c +++ b/dlls/msvcr120/tests/msvcr120.c @@ -127,6 +127,16 @@ static inline float __port_nan(void) } #define NAN __port_nan()
+static inline int isnormal(double d) +{ + return _fpclass(d) & (_FPCLASS_PN | _FPCLASS_NN); +} + +static inline int isinf(double d) +{ + return _fpclass(d) & (_FPCLASS_PINF | _FPCLASS_NINF); +} + struct MSVCRT_lconv { char* decimal_point; @@ -192,6 +202,9 @@ static unsigned short (__cdecl *p_wctype)(const char*); static int (__cdecl *p_vsscanf)(const char*, const char *, __ms_va_list valist); static _Dcomplex* (__cdecl *p__Cbuild)(_Dcomplex*, double, double); static double (__cdecl *p_creal)(_Dcomplex); +static double (__cdecl *p_nexttoward)(double, double); +static float (__cdecl *p_nexttowardf)(float, double); +static double (__cdecl *p_nexttowardl)(double, double);
/* make sure we use the correct errno */ #undef errno @@ -252,6 +265,9 @@ static BOOL init(void) SET(p_vsscanf, "vsscanf"); SET(p__Cbuild, "_Cbuild"); SET(p_creal, "creal"); + SET(p_nexttoward, "nexttoward"); + SET(p_nexttowardf, "nexttowardf"); + SET(p_nexttowardl, "nexttowardl"); if(sizeof(void*) == 8) { /* 64-bit initialization */ SET(p_critical_section_ctor, "??0critical_section@Concurrency@@QEAA@XZ"); @@ -964,6 +980,78 @@ static void test__Cbuild(void) ok(d == 3.0, "creal returned %lf\n", d); }
+static void test_nexttoward(void) +{ + errno_t e; + double d; + float f; + int i; + + struct + { + double source; + double dir; + float f; + double d; + } + tests[] = + { + {0.0, 0.0, 0.0f, 0.0}, + {0.0, 1.0, 1.0e-45f, 5.0e-324}, + {0.0, -1.0, -1.0e-45f, -5.0e-324}, + {2.2250738585072009e-308, 0.0, 0.0f, 2.2250738585072004e-308}, + {2.2250738585072009e-308, 2.2250738585072010e-308, 1.0e-45f, 2.2250738585072009e-308}, + {2.2250738585072009e-308, 1.0, 1.0e-45f, 2.2250738585072014e-308}, + {2.2250738585072014e-308, 0.0, 0.0f, 2.2250738585072009e-308}, + {2.2250738585072014e-308, 2.2250738585072014e-308, 1.0e-45f, 2.2250738585072014e-308}, + {2.2250738585072014e-308, 1.0, 1.0e-45f, 2.2250738585072019e-308}, + {1.0, 2.0, 1.00000012f, 1.0000000000000002}, + {1.0, 0.0, 0.99999994f, 0.9999999999999999}, + {1.0, 1.0, 1.0f, 1.0}, + {0.0, INFINITY, 1.0e-45f, 5.0e-324}, + {FLT_MAX, INFINITY, INFINITY, 3.402823466385289e+038}, + {DBL_MAX, INFINITY, INFINITY, INFINITY}, + {INFINITY, INFINITY, INFINITY, INFINITY}, + {INFINITY, 0, FLT_MAX, DBL_MAX}, + }; + + for (i = 0; i < ARRAY_SIZE(tests); ++i) + { + f = p_nexttowardf(tests[i].source, tests[i].dir); + ok(f == tests[i].f, "Test %d: expected %0.8ef, got %0.8ef.\n", i, tests[i].f, f); + + errno = -1; + d = p_nexttoward(tests[i].source, tests[i].dir); + e = errno; + ok(d == tests[i].d, "Test %d: expected %0.16e, got %0.16e.\n", i, tests[i].d, d); + if (isnormal(d) || isinf(tests[i].source)) + ok(e == -1, "Test %d: expected no error, got %d.\n", i, e); + else + ok(e == ERANGE, "Test %d: expected ERANGE, got %d.\n", i, e); + + d = p_nexttowardl(tests[i].source, tests[i].dir); + ok(d == tests[i].d, "Test %d: expected %0.16e, got %0.16e.\n", i, tests[i].d, d); + } + + errno = -1; + d = p_nexttoward(NAN, 0); + e = errno; + ok(_isnan(d), "Expected NAN, got %0.16e.\n", d); + ok(e == -1, "Expected errno -1, got %d.\n", e); + + errno = -1; + d = p_nexttoward(NAN, NAN); + e = errno; + ok(_isnan(d), "Expected NAN, got %0.16e.\n", d); + ok(e == -1, "Expected errno ERANGE, got %d.\n", e); + + errno = -1; + d = p_nexttoward(0, NAN); + e = errno; + ok(_isnan(d), "Expected NAN, got %0.16e.\n", d); + ok(e == -1, "Expected errno ERANGE, got %d.\n", e); +} + START_TEST(msvcr120) { if (!init()) return; @@ -983,4 +1071,5 @@ START_TEST(msvcr120) test_wctype(); test_vsscanf(); test__Cbuild(); + test_nexttoward(); } diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec index c1f6e0bcf0..706799ce37 100644 --- a/dlls/msvcr120_app/msvcr120_app.spec +++ b/dlls/msvcr120_app/msvcr120_app.spec @@ -1965,9 +1965,9 @@ @ cdecl nextafter(double double) msvcr120.nextafter @ cdecl nextafterf(float float) msvcr120.nextafterf @ cdecl nextafterl(double double) msvcr120.nextafterl -@ stub nexttoward -@ stub nexttowardf -@ stub nexttowardl +@ cdecl nexttoward(double double) msvcr120.nexttoward +@ cdecl nexttowardf(float double) msvcr120.nexttowardf +@ cdecl nexttowardl(double double) msvcr120.nexttowardl @ stub norm @ stub normf @ stub norml diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index d4785d3508..f6050a1c15 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -1529,6 +1529,36 @@ float CDECL MSVCRT_nearbyintf(float num) #endif }
+/********************************************************************* + * nexttoward (MSVCR120.@) + */ +double CDECL MSVCRT_nexttoward(double num, double next) +{ +#ifdef HAVE_NEXTTOWARD + double ret = nexttoward(num, next); + if (!isnormal(ret) && !isnan(ret) && !isinf(num)) *MSVCRT__errno() = MSVCRT_ERANGE; + return ret; +#else + FIXME("not implemented\n"); + return 0; +#endif +} + +/********************************************************************* + * nexttowardf (MSVCR120.@) + */ +float CDECL MSVCRT_nexttowardf(float num, double next) +{ +#ifdef HAVE_NEXTTOWARDF + float ret = nexttowardf(num, next); + if (!isnormal(ret) && !isnan(ret) && !isinf(num)) *MSVCRT__errno() = MSVCRT_ERANGE; + return ret; +#else + FIXME("not implemented\n"); + return 0; +#endif +} + #endif /* _MSVCR_VER>=120 */
/********************************************************************* diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec index 6e6cc439d8..3592a569e0 100644 --- a/dlls/ucrtbase/ucrtbase.spec +++ b/dlls/ucrtbase/ucrtbase.spec @@ -2438,9 +2438,9 @@ @ cdecl nextafter(double double) MSVCRT__nextafter @ cdecl nextafterf(float float) MSVCRT__nextafterf @ cdecl nextafterl(double double) MSVCRT__nextafter -@ stub nexttoward -@ stub nexttowardf -@ stub nexttowardl +@ cdecl nexttoward(double double) MSVCRT_nexttoward +@ cdecl nexttowardf(float double) MSVCRT_nexttowardf +@ cdecl nexttowardl(double double) MSVCRT_nexttoward @ stub norm @ stub normf @ stub norml
Hi,
While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=45059
Your paranoid android.
=== debian9 (32 bit report) ===
msvcr120: msvcr120.c:1030: Test failed: Test 0: expected ERANGE, got -1. msvcr120.c:1021: Test failed: Test 1: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 1: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 2: expected -1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 2: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 3: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 4: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 4: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 5: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 5: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 6: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 7: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 7: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 8: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 8: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 9: expected 1.00000012e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 9: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 10: expected 9.99999940e-001f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 10: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 11: expected 1.00000000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 11: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 12: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 12: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 13: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 13: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 14: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 14: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 15: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 16: expected 3.40282347e+038f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1039: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1045: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1051: Test failed: Expected NAN, got 0.0000000000000000e+000.
=== debian9 (32 bit French report) ===
msvcr120: msvcr120.c:1030: Test failed: Test 0: expected ERANGE, got -1. msvcr120.c:1021: Test failed: Test 1: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 1: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 2: expected -1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 2: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 3: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 4: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 4: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 5: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 5: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 6: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 7: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 7: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 8: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 8: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 9: expected 1.00000012e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 9: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 10: expected 9.99999940e-001f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 10: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 11: expected 1.00000000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 11: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 12: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 12: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 13: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 13: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 14: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 14: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 15: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 16: expected 3.40282347e+038f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1039: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1045: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1051: Test failed: Expected NAN, got 0.0000000000000000e+000.
=== debian9 (32 bit Japanese:Japan report) ===
msvcr120: msvcr120.c:1030: Test failed: Test 0: expected ERANGE, got -1. msvcr120.c:1021: Test failed: Test 1: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 1: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 2: expected -1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 2: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 3: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 4: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 4: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 5: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 5: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 6: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 7: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 7: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 8: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 8: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 9: expected 1.00000012e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 9: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 10: expected 9.99999940e-001f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 10: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 11: expected 1.00000000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 11: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 12: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 12: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 13: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 13: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 14: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 14: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 15: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 16: expected 3.40282347e+038f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1039: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1045: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1051: Test failed: Expected NAN, got 0.0000000000000000e+000.
=== debian9 (32 bit Chinese:China report) ===
msvcr120: msvcr120.c:1030: Test failed: Test 0: expected ERANGE, got -1. msvcr120.c:1021: Test failed: Test 1: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 1: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 2: expected -1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 2: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 3: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 4: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 4: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 5: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 5: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 6: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 7: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 7: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 8: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 8: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 9: expected 1.00000012e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 9: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 10: expected 9.99999940e-001f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 10: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 11: expected 1.00000000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 11: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 12: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 12: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 13: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 13: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 14: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 14: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 15: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 16: expected 3.40282347e+038f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1039: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1045: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1051: Test failed: Expected NAN, got 0.0000000000000000e+000.
=== debian9 (32 bit WoW report) ===
msvcr120: msvcr120.c:1030: Test failed: Test 0: expected ERANGE, got -1. msvcr120.c:1021: Test failed: Test 1: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 1: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 2: expected -1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 2: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 3: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 4: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 4: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 5: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 5: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 6: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 7: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 7: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 8: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 8: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 9: expected 1.00000012e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 9: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 10: expected 9.99999940e-001f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 10: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 11: expected 1.00000000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 11: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 12: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 12: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 13: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 13: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 14: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 14: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 15: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 16: expected 3.40282347e+038f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1039: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1045: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1051: Test failed: Expected NAN, got 0.0000000000000000e+000.
=== debian9 (64 bit WoW report) ===
msvcr120: msvcr120.c:1030: Test failed: Test 0: expected ERANGE, got -1. msvcr120.c:1021: Test failed: Test 1: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 1: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 1: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 2: expected -1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 2: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 2: expected -4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 3: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 3: expected 2.2250738585072004e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 4: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 4: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 4: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 5: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 5: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 5: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1026: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 6: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 6: expected 2.2250738585072009e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 7: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 7: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 7: expected 2.2250738585072014e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 8: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 8: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 8: expected 2.2250738585072019e-308, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 9: expected 1.00000012e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 9: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 9: expected 1.0000000000000002e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 10: expected 9.99999940e-001f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 10: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 10: expected 9.9999999999999989e-001, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 11: expected 1.00000000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 11: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 11: expected 1.0000000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 12: expected 1.40129846e-045f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 12: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 12: expected 4.9406564584124654e-324, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 13: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 13: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 13: expected 3.4028234663852890e+038, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 14: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1030: Test failed: Test 14: expected ERANGE, got -1. msvcr120.c:1033: Test failed: Test 14: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 15: expected 1.#INF0000e+000f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 15: expected 1.#INF000000000000e+000, got 0.0000000000000000e+000. msvcr120.c:1021: Test failed: Test 16: expected 3.40282347e+038f, got 0.00000000e+000f. msvcr120.c:1026: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1033: Test failed: Test 16: expected 1.7976931348623157e+308, got 0.0000000000000000e+000. msvcr120.c:1039: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1045: Test failed: Expected NAN, got 0.0000000000000000e+000. msvcr120.c:1051: Test failed: Expected NAN, got 0.0000000000000000e+000.
On 11/26/18 9:56 PM, Marvin wrote:
Hi,
While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=45059
Your paranoid android.
Looks like the testbot doesn't handle autoreconf; I'll send a patch.
Hi Zebediah,
Sorry for long reply time.
On 11/27/18 4:45 AM, Zebediah Figura wrote:
+float CDECL MSVCRT_nexttowardf(float num, double next) +{ +#ifdef HAVE_NEXTTOWARDF
- float ret = nexttowardf(num, next);
- if (!isnormal(ret) && !isnan(ret) && !isinf(num)) *MSVCRT__errno() = MSVCRT_ERANGE;
- return ret;
isnormal is also a C99 function. You can use MSVCRT__fpclass instead.
Thanks, Piotr