From 7a3816fcdd8e827036027076c1d5ed56c6d4f4b6 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Wed, 27 Jul 2022 14:29:19 +0200 Subject: [PATCH] Correction of issue #2 --- Source/ControllerFunctions/arm_sin_cos_f32.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/ControllerFunctions/arm_sin_cos_f32.c b/Source/ControllerFunctions/arm_sin_cos_f32.c index d6874d90..b2fa28c7 100644 --- a/Source/ControllerFunctions/arm_sin_cos_f32.c +++ b/Source/ControllerFunctions/arm_sin_cos_f32.c @@ -78,8 +78,6 @@ void arm_sin_cos_f32( d1 = -sinTable_f32[indexS ]; d2 = -sinTable_f32[indexS+1]; - temp = (1.0f - fract) * f1 + fract * f2; - Dn = 0.0122718463030f; /* delta between the two points (fixed), in this case 2*pi/FAST_MATH_TABLE_SIZE */ Df = f2 - f1; /* delta between the values of the functions */ @@ -96,7 +94,6 @@ void arm_sin_cos_f32( d1 = sinTable_f32[indexC ]; d2 = sinTable_f32[indexC+1]; - temp = (1.0f - fract) * f1 + fract * f2; Df = f2 - f1; // delta between the values of the functions temp = Dn * (d1 + d2) - 2 * Df;