LIBDSP Version 4.1.9
LIBDSP Software Library
Loading...
Searching...
No Matches
tpt_div_q31.c File Reference
#include "tpt_math.h"
#include "tpt_internal.h"
Include dependency graph for tpt_div_q31.c:

Macros

#define NORM_SH   (29)
#define CST_1   (1L << NORM_SH)
#define CST_2   (2L * CST_1)
#define D2QN(F, SH)
#define GHMUL(X, Y)

Functions

q31_t tpt_div_q31 (const q31_t aInDataA, const q31_t aInDataB)
 Division of q31 inputs.

Macro Definition Documentation

◆ CST_1

#define CST_1   (1L << NORM_SH)

◆ CST_2

#define CST_2   (2L * CST_1)

◆ D2QN

#define D2QN ( F,
SH )
Value:
((int)((float)F * (float)(1L << SH)))

◆ GHMUL

#define GHMUL ( X,
Y )
Value:
((int)(((q63_t)X * Y) >> 32))
#define Y(format)
Definition arm_math_transform.h:933
#define X(len, format)
Definition arm_math_transform.h:918
int64_t q63_t
64-bit fractional data type in 1.63 format.
Definition tpt_math_dsp.h:137

◆ NORM_SH

#define NORM_SH   (29)