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

Jan Vesely jan.vesely at rutgers.edu
Thu Aug 24 16:54:41 UTC 2017


From: Tom Stellard <thomas.stellard at amd.com>

---
 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 29b4e1a3f..d1e0e3c24 100644
--- a/generated_tests/gen_cl_math_builtins.py
+++ b/generated_tests/gen_cl_math_builtins.py
@@ -261,8 +261,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.13.5



More information about the Piglit mailing list