7 Apr
2025
7 Apr
'25
10:02 a.m.
Piotr Caban (@piotr) commented about dlls/msvcr120/tests/msvcr120.c:
p_setlocale(LC_ALL, "C"); }
+static void test_cexp(void) +{ + _Dcomplex c, r; + + c = p__Cbuild(0.0, M_PI); + r = p_cexp(c); + ok(r.r == -1.0, "r.r = %lf\n", r.r); + ok(almost_equal(r.i, 0.0), "got %e\n", r.i); + + c = p__Cbuild(0.0, INFINITY);
This call should not invoke matherr callback. It's usually not that important but NAN sign bit should also be different. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7748#note_100115