diff --git a/tests/transcendentals-5-0.ispc b/tests/transcendentals-5-0.ispc index c445b8a9..562050df 100644 --- a/tests/transcendentals-5-0.ispc +++ b/tests/transcendentals-5-0.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1e-16) || abs((x-ref)/ref) < 1e-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((-3.141592741012573d0),(0.000000000000000d0),(3.141592741012573d0),(6.283185482025146d0)); diff --git a/tests/transcendentals-5-1.ispc b/tests/transcendentals-5-1.ispc index 7d9980a4..fd1e1506 100644 --- a/tests/transcendentals-5-1.ispc +++ b/tests/transcendentals-5-1.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1e-16) || abs((x-ref)/ref) < 1e-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((1.000000000000000d0),(-1.000000000000000d0),(-1.5707963705062866d0),(1.5707963705062866d0)); diff --git a/tests/transcendentals-5-2.ispc b/tests/transcendentals-5-2.ispc index 38247397..2a50730a 100644 --- a/tests/transcendentals-5-2.ispc +++ b/tests/transcendentals-5-2.ispc @@ -14,7 +14,7 @@ export uniform int width() { return programCount; } bool ok(double x, double ref) { - bool r = (abs(x - ref) < 1e-14) || abs((x-ref)/ref) < 1e-14; + bool r = (abs(x - ref) < 1d-14) || abs((x-ref)/ref) < 1d-14; if (any(r == false)) print("mismatch got %, expected %\n", x, ref); return r; diff --git a/tests/transcendentals-5-3.ispc b/tests/transcendentals-5-3.ispc index 496f0b68..dbde3751 100644 --- a/tests/transcendentals-5-3.ispc +++ b/tests/transcendentals-5-3.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((14.300000190734863d0),(-6.699999809265137d0),(-21.200000762939453d0),(9.000000000000000d0)); diff --git a/tests/transcendentals-6-0.ispc b/tests/transcendentals-6-0.ispc index 2b59989a..ae3dac39 100644 --- a/tests/transcendentals-6-0.ispc +++ b/tests/transcendentals-6-0.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((-3.141592653589793d0),(0.000000000000000d0),(3.141592653589793d0),(6.283185307179586d0)); diff --git a/tests/transcendentals-6-1.ispc b/tests/transcendentals-6-1.ispc index b460af9f..8f59c54d 100644 --- a/tests/transcendentals-6-1.ispc +++ b/tests/transcendentals-6-1.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((1.000000000000000d0),(-1.000000000000000d0),(-1.570796370506287d0),(1.570796370506287d0)); diff --git a/tests/transcendentals-6-2.ispc b/tests/transcendentals-6-2.ispc index 5bcb1949..80ee9f7b 100644 --- a/tests/transcendentals-6-2.ispc +++ b/tests/transcendentals-6-2.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((-9.42477796076938d0),(4.000000000000000d0),(10.000000000000000d0),(-10.000000000000000d0)); diff --git a/tests/transcendentals-6-3.ispc b/tests/transcendentals-6-3.ispc index 6d738f92..e64c4b82 100644 --- a/tests/transcendentals-6-3.ispc +++ b/tests/transcendentals-6-3.ispc @@ -14,7 +14,7 @@ export uniform int width() { return programCount; } bool ok(double x, double ref) { - bool r = (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-15; + bool r = (abs(x - ref) < 1d-14) || abs((x-ref)/ref) < 1d-14; if (any(r == false)) print("mismatch got %, expected %\n", x, ref); return r; diff --git a/tests/transcendentals-7-0.ispc b/tests/transcendentals-7-0.ispc index e75fe986..e59f1c7a 100644 --- a/tests/transcendentals-7-0.ispc +++ b/tests/transcendentals-7-0.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((-3.141592741012573d0),(0.000000000000000d0),(3.141592741012573d0),(6.283185482025146d0)); diff --git a/tests/transcendentals-7-1.ispc b/tests/transcendentals-7-1.ispc index 8f36a8d4..0b3a9c66 100644 --- a/tests/transcendentals-7-1.ispc +++ b/tests/transcendentals-7-1.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((1.000000000000000d0),(-1.000000000000000d0),(0),(0)); diff --git a/tests/transcendentals-7-2.ispc b/tests/transcendentals-7-2.ispc index bfe7226c..4227981d 100644 --- a/tests/transcendentals-7-2.ispc +++ b/tests/transcendentals-7-2.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((-9.424777984619141d0),(4.000000000000000d0),(10.000000000000000d0),(-10.000000000000000d0)); diff --git a/tests/transcendentals-7-3.ispc b/tests/transcendentals-7-3.ispc index 9b5843c4..aa6e1380 100644 --- a/tests/transcendentals-7-3.ispc +++ b/tests/transcendentals-7-3.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((14.300000190734863d0),(-6.699999809265137d0),(-21.200000762939453d0),(9.000000000000000d0)); diff --git a/tests/transcendentals-8-0.ispc b/tests/transcendentals-8-0.ispc index 52b3fe7e..761d6e5a 100644 --- a/tests/transcendentals-8-0.ispc +++ b/tests/transcendentals-8-0.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((-3.141592741012573d0),(0.000000000000000d0),(3.141592741012573d0),(6.283185482025146d0)); diff --git a/tests/transcendentals-8-1.ispc b/tests/transcendentals-8-1.ispc index ac166aaa..f9433aab 100644 --- a/tests/transcendentals-8-1.ispc +++ b/tests/transcendentals-8-1.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((1.000000000000000d0),(-1.000000000000000d0),(-1.570796370506287d0),(1.570796370506287d0)); diff --git a/tests/transcendentals-8-2.ispc b/tests/transcendentals-8-2.ispc index a250f690..493b1632 100644 --- a/tests/transcendentals-8-2.ispc +++ b/tests/transcendentals-8-2.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((-9.424777984619141d0),(4.000000000000000d0),(10.000000000000000d0),(-10.000000000000000d0)); diff --git a/tests/transcendentals-8-3.ispc b/tests/transcendentals-8-3.ispc index 7021fc37..38101635 100644 --- a/tests/transcendentals-8-3.ispc +++ b/tests/transcendentals-8-3.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((14.300000190734863d0),(-6.699999809265137d0),(-21.200000762939453d0),(9.000000000000000d0)); diff --git a/tests/transcendentals-9-0.ispc b/tests/transcendentals-9-0.ispc index 8736677d..8c51e240 100644 --- a/tests/transcendentals-9-0.ispc +++ b/tests/transcendentals-9-0.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-13; } export void f_v(uniform float RET[]) { double v = double4((3.141602741012573d),(0.000010000000000d),(3.141602741012573d),(6.283195482025146d)); diff --git a/tests/transcendentals-9-1.ispc b/tests/transcendentals-9-1.ispc index 3a69782e..0b01c322 100644 --- a/tests/transcendentals-9-1.ispc +++ b/tests/transcendentals-9-1.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((1.000010000000000d0),(1.000010000000000d0),(1.570806370506287d0),(1.570806370506287d0)); diff --git a/tests/transcendentals-9-2.ispc b/tests/transcendentals-9-2.ispc index 83113a42..2391920b 100644 --- a/tests/transcendentals-9-2.ispc +++ b/tests/transcendentals-9-2.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((9.424787984619140d0),(4.000010000000000d0),(10.000010000000000d0),(10.000010000000000d0)); diff --git a/tests/transcendentals-9-3.ispc b/tests/transcendentals-9-3.ispc index 22ef5e47..ed787a5c 100644 --- a/tests/transcendentals-9-3.ispc +++ b/tests/transcendentals-9-3.ispc @@ -13,7 +13,7 @@ static double double4(uniform double a, uniform double b, uniform double c, export uniform int width() { return programCount; } -bool ok(double x, double ref) { return (abs(x - ref) < 1d-16) || abs((x-ref)/ref) < 1d-15; } +bool ok(double x, double ref) { return (abs(x - ref) < 1d-15) || abs((x-ref)/ref) < 1d-14; } export void f_v(uniform float RET[]) { double v = double4((14.300010190734863d0),(6.700009809265136d0),(21.200010762939453d0),(9.000010000000000d0));