On Fri, 2014-08-29 at 17:37 -0500, Aaron Watry wrote: > Signed-off-by: Aaron Watry <[email protected]>
Reviewed-by: Jan Vesely <[email protected]> > --- > generated_tests/generate-cl-math-builtins.py | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/generated_tests/generate-cl-math-builtins.py > b/generated_tests/generate-cl-math-builtins.py > index 11882d4..a20f921 100644 > --- a/generated_tests/generate-cl-math-builtins.py > +++ b/generated_tests/generate-cl-math-builtins.py > @@ -25,9 +25,10 @@ > import os > > from genclbuiltins import gen > -from math import atan, pi, sin, sqrt, cos > +from math import acos, atan, pi, sin, sqrt, cos > > CLC_VERSION_MIN = { > + 'acos' : 10, > 'atan' : 10, > 'ceil' : 10, > 'cos' : 10, > @@ -48,6 +49,15 @@ F = { > } > > tests = { > + 'acos' : { > + 'arg_types' : [F, F], > + 'function_type': 'ttt', > + 'values' : [ > + [ pi, pi/2, 0.0, acos(0.12345), float("nan")], # Result > + [-1.0, 0.0, 1.0, 0.12345, float("nan")] # Arg0 > + ], > + 'tolerance' : 4 > + }, > 'atan' : { > 'arg_types' : [F, F], > 'function_type': 'ttt', -- Jan Vesely <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
