Initialize CL Tables with double values

pull/39/head
Jean-Baptiste Rolland 3 years ago
parent 433ecc8b22
commit d20e7ab0f0

@ -41,14 +41,14 @@ const float32_t exp_tab[4*8] =
const float64_t exp_tab_64[2*8] = const float64_t exp_tab_64[2*8] =
{ {
1.f,1.f, 1.,1.,
0.0416598916054f,0.0416598916054f, 0.0416598916054,0.0416598916054,
0.500000596046f,0.500000596046f, 0.500000596046,0.500000596046,
0.0014122662833f,0.0014122662833f, 0.0014122662833,0.0014122662833,
1.00000011921f,1.00000011921f, 1.00000011921,1.00000011921,
0.00833693705499f,0.00833693705499f, 0.00833693705499,0.00833693705499,
0.166665703058f,0.166665703058f, 0.166665703058,0.166665703058,
0.000195780929062f,0.000195780929062f 0.000195780929062,0.000195780929062
}; };
/** Logarithm polynomial coefficients */ /** Logarithm polynomial coefficients */
@ -66,14 +66,14 @@ const float32_t log_tab[4*8] =
const float64_t log_tab_64[2*8] = const float64_t log_tab_64[2*8] =
{ {
-2.29561495781f,-2.29561495781f, -2.29561495781,-2.29561495781,
-2.47071170807f,-2.47071170807f, -2.47071170807,-2.47071170807,
-5.68692588806f,-5.68692588806f, -5.68692588806,-5.68692588806,
-0.165253549814f,-0.165253549814f, -0.165253549814,-0.165253549814,
5.17591238022f,5.17591238022f, 5.17591238022,5.17591238022,
0.844007015228f,0.844007015228f, 0.844007015228,0.844007015228,
4.58445882797f,4.58445882797f, 4.58445882797,4.58445882797,
0.0141278216615f,0.0141278216615f 0.0141278216615,0.0141278216615
}; };
#endif #endif

Loading…
Cancel
Save