From b2678b43388914e4eb94a9cd5845bfea16ae0e3e Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Thu, 19 Sep 2013 17:27:58 +0400 Subject: [PATCH] Typo fix is tests/double-consts.ispc --- tests/double-consts.ispc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/double-consts.ispc b/tests/double-consts.ispc index 4096aa1c..5f9a66d5 100644 --- a/tests/double-consts.ispc +++ b/tests/double-consts.ispc @@ -13,7 +13,7 @@ export void f_f(uniform float RET[], uniform float aFOO[]) { // All the constants should be equal and if it's evaluated as "float", // then sqrt will evaluate to +inf. - if (d1 == d2 && d1 == d3 && d1 == d4 && d1 == d5 && d1 == d6 + if (d1 == d2 && d1 == d3 && d1 == d4 && d1 == d5 && d1 == d6 && ((float)sqrt(d1)) < 2e20) { RET[programIndex] = a; }