mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[util] Loosen up the epsilon on simd seb tests
It seems my eeepc's SSE units don't get quite the same answers as does my i7's (maybe due to lack of hadd?).
This commit is contained in:
parent
80b17623b1
commit
d56d8ac707
1 changed files with 2 additions and 2 deletions
|
@ -233,8 +233,8 @@ main (int argc, const char **argv)
|
|||
for (i = 0; i < num_tests; i ++) {
|
||||
sphere = SmallestEnclosingBall_vf (tests[i].points,
|
||||
tests[i].num_points);
|
||||
if (VectorDistance_fast (sphere.center, tests[i].expect.center) > 1e-4
|
||||
|| fabs (sphere.radius - tests[i].expect.radius) > 1e-4) {
|
||||
if (VectorDistance_fast (sphere.center, tests[i].expect.center) > 2e-4
|
||||
|| fabs (sphere.radius - tests[i].expect.radius) > 2e-4) {
|
||||
res = 1;
|
||||
printf ("test %d failed\n", (int) i);
|
||||
printf ("expect: {%.9g, %.9g, %.9g}, %.9g\n",
|
||||
|
|
Loading…
Reference in a new issue