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:
Piotr Caban 2021-11-19 13:54:26 +01:00 committed by Alexandre Julliard
parent acc7907dc9
commit 1939528dab

View file

@ -799,7 +799,7 @@ static void test_math_errors(void)
errno = -1;
exception.type = -1;
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);
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);