Kaynağa Gözat

Corrected warning from issue #159

Christophe Favergeon 2 yıl önce
ebeveyn
işleme
7dc19e20fc
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Source/FastMathFunctions/arm_divide_q15.c

+ 2 - 2
Source/FastMathFunctions/arm_divide_q15.c

@@ -74,11 +74,11 @@ arm_status arm_divide_q15(q15_t numerator,
   {
   {
      if (sign)
      if (sign)
      {
      {
-        *quotient = 0x8000;
+        *quotient = -32768;
      }
      }
      else
      else
      {
      {
-        *quotient = 0x7FFF;
+        *quotient = 32767;
      }
      }
      return(ARM_MATH_NANINF);
      return(ARM_MATH_NANINF);
   }
   }