[Piglit] [PATCH 2/2] cl: Add failing case to exp test

Tom Stellard thomas.stellard at amd.com
Tue Apr 7 16:28:59 PDT 2015


---
 generated_tests/gen_cl_math_builtins.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/generated_tests/gen_cl_math_builtins.py b/generated_tests/gen_cl_math_builtins.py
index 34b364d..cced8a9 100644
--- a/generated_tests/gen_cl_math_builtins.py
+++ b/generated_tests/gen_cl_math_builtins.py
@@ -285,8 +285,8 @@ tests = {
         'arg_types' : [F, F],
         'function_type': 'ttt',
         'values' : [
-            [1.0, exp(0.95), exp(pi), exp(-pi), float("inf") ], # Result
-            [0.0, 0.95, pi, -pi, float("inf")]  # Arg0
+            [1.0, exp(0.95), exp(pi), exp(-pi), float("inf"), float.fromhex('0x1.66fe8ap+4')], # Result
+            [0.0, 0.95, pi, -pi, float("inf"), float.fromhex('0x1.8e2cp+1')]  # Arg0
         ],
         'tolerance' : 3
     },
-- 
2.0.4



More information about the Piglit mailing list