From d20e7ab0f0eb867bb5ca1f8581b1d96f77a29244 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Rolland Date: Thu, 15 Sep 2022 09:14:48 +0200 Subject: [PATCH] Initialize CL Tables with double values --- ComputeLibrary/Source/arm_cl_tables.c | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/ComputeLibrary/Source/arm_cl_tables.c b/ComputeLibrary/Source/arm_cl_tables.c index 3f1456d4..5be0211a 100755 --- a/ComputeLibrary/Source/arm_cl_tables.c +++ b/ComputeLibrary/Source/arm_cl_tables.c @@ -41,14 +41,14 @@ const float32_t exp_tab[4*8] = const float64_t exp_tab_64[2*8] = { - 1.f,1.f, - 0.0416598916054f,0.0416598916054f, - 0.500000596046f,0.500000596046f, - 0.0014122662833f,0.0014122662833f, - 1.00000011921f,1.00000011921f, - 0.00833693705499f,0.00833693705499f, - 0.166665703058f,0.166665703058f, - 0.000195780929062f,0.000195780929062f + 1.,1., + 0.0416598916054,0.0416598916054, + 0.500000596046,0.500000596046, + 0.0014122662833,0.0014122662833, + 1.00000011921,1.00000011921, + 0.00833693705499,0.00833693705499, + 0.166665703058,0.166665703058, + 0.000195780929062,0.000195780929062 }; /** Logarithm polynomial coefficients */ @@ -66,14 +66,14 @@ const float32_t log_tab[4*8] = const float64_t log_tab_64[2*8] = { - -2.29561495781f,-2.29561495781f, - -2.47071170807f,-2.47071170807f, - -5.68692588806f,-5.68692588806f, - -0.165253549814f,-0.165253549814f, - 5.17591238022f,5.17591238022f, - 0.844007015228f,0.844007015228f, - 4.58445882797f,4.58445882797f, - 0.0141278216615f,0.0141278216615f + -2.29561495781,-2.29561495781, + -2.47071170807,-2.47071170807, + -5.68692588806,-5.68692588806, + -0.165253549814,-0.165253549814, + 5.17591238022,5.17591238022, + 0.844007015228,0.844007015228, + 4.58445882797,4.58445882797, + 0.0141278216615,0.0141278216615 }; #endif