CMSIS-DSP: Moved definition of Q31,Q15 and Q7 bounds to arm_math.h

pull/19/head
Christophe Favergeon 6 years ago
parent 6945b74f8a
commit 5682780f4d

@ -79,14 +79,6 @@ Definitions available for MVEI only
***************************************/
#if defined (ARM_MATH_HELIUM) || defined(ARM_MATH_MVEI)
#include <limits.h>
#define Q31_MAX LONG_MAX
#define Q15_MAX SHRT_MAX
#define Q7_MAX SCHAR_MAX
#define Q31_MIN LONG_MIN
#define Q15_MIN SHRT_MIN
#define Q7_MIN SCHAR_MIN
#include "arm_common_tables.h"

@ -377,9 +377,17 @@ extern "C"
#include "string.h"
#include "math.h"
#include "float.h"
#include <string.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#define Q31_MAX LONG_MAX
#define Q15_MAX SHRT_MAX
#define Q7_MAX SCHAR_MAX
#define Q31_MIN LONG_MIN
#define Q15_MIN SHRT_MIN
#define Q7_MIN SCHAR_MIN
/* evaluate ARM DSP feature */
#if (defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1))

Loading…
Cancel
Save