[Piglit] [PATCH 1/2] cl: Fix erf test
Jan Vesely
jano.vesely at gmail.com
Sun Oct 22 16:19:59 UTC 2017
In python:
>>> math.erf(11.1)
1.0
Signed-off-by: Jan Vesely <jano.vesely at gmail.com>
---
These are straightforward fixes. I plan to push them I few days unless there are objections.
generated_tests/gen_cl_math_builtins.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generated_tests/gen_cl_math_builtins.py b/generated_tests/gen_cl_math_builtins.py
index 7f67b7b17..38d36a302 100644
--- a/generated_tests/gen_cl_math_builtins.py
+++ b/generated_tests/gen_cl_math_builtins.py
@@ -276,7 +276,7 @@ tests = {
'arg_types' : [F, F],
'function_type': 'ttt',
'values' : [
- [0.0, 0.950004, 0.990005, -0.994999475, 0.27219439321703e-29, 1, -1], # Result
+ [0.0, 0.950004, 0.990005, -0.994999475, 1.0, 1, -1], # Result
[0.0, 1.960/sqrt(2.0), 2.576/sqrt(2.0), -2.807/sqrt(2.0), 11.1, float("inf"), float("-inf")] # Arg0
],
'tolerance' : 16
--
2.13.6
More information about the Piglit
mailing list