2017-05-04 12:05 GMT+02:00 Henri Verbeet hverbeet@codeweavers.com:
ok(relative_error(expected, test[l].red_received[j]) < 0.0005f,
"Red: case %u, order %u: expected[%u] = %f, received %f\n", l, order, j, expected, test[l].red_received[j]);
equal = compare_float(expected, test[l].red_received[j], 512);
ok(equal || (fabs(expected) < 1.0e-6f && fabs(test[l].red_received[j]) < 1.0e-6f),
"Red: case %u, order %u: expected[%u] = %.8e, received %.8e.\n",
l, order, j, expected, test[l].red_received[j]);
I guess those are mostly to make our implementation pass the test. Did you have a look at it by any chance?