ucrtbase: Fix fma test failures.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51895 Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
acc7907dc9
commit
1939528dab
|
@ -799,7 +799,7 @@ static void test_math_errors(void)
|
||||||
errno = -1;
|
errno = -1;
|
||||||
exception.type = -1;
|
exception.type = -1;
|
||||||
p_func3d(tests3d[i].a, tests3d[i].b, tests3d[i].c);
|
p_func3d(tests3d[i].a, tests3d[i].b, tests3d[i].c);
|
||||||
ok(errno == tests3d[i].error,
|
ok(errno == tests3d[i].error || errno == -1, /* native is not setting errno if FMA3 is supported */
|
||||||
"%s(%f, %f, %f) got errno %d\n", tests3d[i].func, tests3d[i].a, tests3d[i].b, tests3d[i].c, errno);
|
"%s(%f, %f, %f) got errno %d\n", tests3d[i].func, tests3d[i].a, tests3d[i].b, tests3d[i].c, errno);
|
||||||
ok(exception.type == tests3d[i].exception,
|
ok(exception.type == tests3d[i].exception,
|
||||||
"%s(%f, %f, %f) got exception type %d\n", tests3d[i].func, tests3d[i].a, tests3d[i].b, tests3d[i].c, exception.type);
|
"%s(%f, %f, %f) got exception type %d\n", tests3d[i].func, tests3d[i].a, tests3d[i].b, tests3d[i].c, exception.type);
|
||||||
|
|
Loading…
Reference in New Issue