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.