From ebc3f9215af05ae9b5b0222880a5f996ba636af9 Mon Sep 17 00:00:00 2001 From: Yi Sun Date: Fri, 20 Jun 2014 10:09:58 +0800 Subject: [PATCH] utest: decrease the accuracy of tanpi. Since some issue in tanpi, decrease the accuracy by 100 times. Signed-off-by: Yi Sun Reviewed-by: Zhigang Gong --- utests/utest_math_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utests/utest_math_gen.py b/utests/utest_math_gen.py index f33d528..30a9b24 100755 --- a/utests/utest_math_gen.py +++ b/utests/utest_math_gen.py @@ -565,7 +565,7 @@ static float tanpi(float x){ return sinpi(x)/cospi(x); } ''' - tanpiUtests = func('tanpi','tanpi',[tanpi_input_type],tanpi_output_type,[tanpi_input_values],'4 * FLT_ULP',tanpi_cpu_func) + tanpiUtests = func('tanpi','tanpi',[tanpi_input_type],tanpi_output_type,[tanpi_input_values],'400 * FLT_ULP',tanpi_cpu_func) ##### gentype trunc(gentype) trunc_input_values = base_input_values -- 2.7.4