On Thu, 2015-01-08 at 14:06 +0800, Zhu Bingbing wrote: > This case will tests common result ande boundary result. > > Signed-off-by: Zhu Bingbing <[email protected]> Reviewed-by: Jan Vesely <[email protected]> > --- > generated_tests/generate-cl-math-builtins.py | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/generated_tests/generate-cl-math-builtins.py > b/generated_tests/generate-cl-math-builtins.py > index ce16a6b..a810385 100644 > --- a/generated_tests/generate-cl-math-builtins.py > +++ b/generated_tests/generate-cl-math-builtins.py > @@ -37,6 +37,7 @@ CLC_VERSION_MIN = { > 'atan' : 10, > 'atan2' : 10, > 'atanh' : 10, > + 'atanpi': 10, > 'cbrt' : 10, > 'ceil' : 10, > 'copysign' : 10, > @@ -138,6 +139,15 @@ tests = { > ], > 'tolerance' : 4 > }, > + 'atanpi' : { > + 'arg_types' : [F, F], > + 'function_type': 'ttt', > + 'values' : [ > + [0.0, -0.0, atan(1.02345)/pi, atan(-1.02345)/pi, float("nan"), 0.5, > -0.5 ], > + [0.0, -0.0, 1.02345, -1.02345, float("nan"), > float("inf"), float("-inf") ] > + ], > + 'tolerance' : 5 > + }, > 'cbrt' : { > '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
