Also added myself to the file authors list

Signed-off-by: Aaron Watry <[email protected]>
---
 generated_tests/generate-cl-math-builtins.py | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/generated_tests/generate-cl-math-builtins.py 
b/generated_tests/generate-cl-math-builtins.py
index fcdcc94..7f98d68 100644
--- a/generated_tests/generate-cl-math-builtins.py
+++ b/generated_tests/generate-cl-math-builtins.py
@@ -20,15 +20,18 @@
 # SOFTWARE.
 #
 # Authors: Tom Stellard <[email protected]>
+#          Aaron Watry  <[email protected]>
 #
 
 import os
 
 from genclbuiltins import gen, NEGNAN
-from math import acos, asin, atan, atan2, fmod, pi, sin, sqrt, cos, fabs, tan, 
pow
+from math import acos, acosh, asin, atan, atan2, fmod, pi, sin, sqrt, cos, fabs
+from math import tan, pow
 
 CLC_VERSION_MIN = {
     'acos' : 10,
+    'acosh' : 10,
     'asin' : 10,
     'atan' : 10,
     'atan2' : 10,
@@ -64,6 +67,15 @@ tests = {
         ],
         'tolerance' : 4
      },
+    'acosh' : {
+        'arg_types' : [F, F],
+        'function_type': 'ttt',
+        'values' : [
+            [0.0, acosh(1.12345), float("nan"), acosh(123456789.01234)], 
#Result
+            [1.0,       1.12345,  float("nan"),       123456789.01234 ]  #Arg0
+        ],
+        'tolerance' : 4
+     },
     'asin' : {
         'arg_types' : [F, F],
         'function_type': 'ttt',
-- 
2.0.0

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to