⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iqmathcpp.h

📁 TMS320X281xDSP应用系统设计-光盘应用程序
💻 H
📖 第 1 页 / 共 5 页
字号:
   return temp;
}

inline	iq20	IQ20mpyI32frac(iq20 y, long x)
{
   iq20 temp;
   temp.val = _IQ20mpyI32frac(y.val, x);
   return temp;
}

inline	iq20 	IQ20mpyI32frac(long y, iq20 x)
{
   iq20 temp;
   temp.val = _IQ20mpyI32frac(y, x.val);
   return temp;
}

inline	iq19	IQ19mpyI32frac(iq19 y, long x)
{
   iq19 temp;
   temp.val = _IQ19mpyI32frac(y.val, x);
   return temp;
}

inline	iq19 	IQ19mpyI32frac(long y, iq19 x)
{
   iq19 temp;
   temp.val = _IQ19mpyI32frac(y, x.val);
   return temp;
}

inline	iq18	IQ18mpyI32frac(iq18 y, long x)
{
   iq18 temp;
   temp.val = _IQ18mpyI32frac(y.val, x);
   return temp;
}

inline	iq18 	IQ18mpyI32frac(long y, iq18 x)
{
   iq18 temp;
   temp.val = _IQ18mpyI32frac(y, x.val);
   return temp;
}

inline	iq17	IQ17mpyI32frac(iq17 y, long x)
{
   iq17 temp;
   temp.val = _IQ17mpyI32frac(y.val, x);
   return temp;
}

inline	iq17 	IQ17mpyI32frac(long y, iq17 x)
{
   iq17 temp;
   temp.val = _IQ17mpyI32frac(y, x.val);
   return temp;
}

inline	iq16	IQ16mpyI32frac(iq16 y, long x)
{
   iq16 temp;
   temp.val = _IQ16mpyI32frac(y.val, x);
   return temp;
}

inline	iq16 	IQ16mpyI32frac(long y, iq16 x)
{
   iq16 temp;
   temp.val = _IQ16mpyI32frac(y, x.val);
   return temp;
}

inline	iq15	IQ15mpyI32frac(iq15 y, long x)
{
   iq15 temp;
   temp.val = _IQ15mpyI32frac(y.val, x);
   return temp;
}

inline	iq15 	IQ15mpyI32frac(long y, iq15 x)
{
   iq15 temp;
   temp.val = _IQ15mpyI32frac(y, x.val);
   return temp;
}

//---------------------------------------------------------------------------
// Functions: IQsin(A), IQNsin(A)
//---------------------------------------------------------------------------

inline	iq	IQsin(iq x)
{
   iq temp;
   temp.val = _IQsin(x.val);
   return temp;
}

inline	iq30	IQ30sin(iq30 x)
{
   iq30 temp;
   temp.val = _IQ30sin(x.val);
   return temp;
}

inline	iq29	IQ29sin(iq29 x)
{
   iq29 temp;
   temp.val = _IQ29sin(x.val);
   return temp;
}

inline	iq28	IQ28sin(iq28 x)
{
   iq28 temp;
   temp.val = _IQ28sin(x.val);
   return temp;
}

inline	iq27	IQ27sin(iq27 x)
{
   iq27 temp;
   temp.val = _IQ27sin(x.val);
   return temp;
}

inline	iq26	IQ26sin(iq26 x)
{
   iq26 temp;
   temp.val = _IQ26sin(x.val);
   return temp;
}

inline	iq25	IQ25sin(iq25 x)
{
   iq25 temp;
   temp.val = _IQ25sin(x.val);
   return temp;
}

inline	iq24	IQ24sin(iq24 x)
{
   iq24 temp;
   temp.val = _IQ24sin(x.val);
   return temp;
}

inline	iq23	IQ23sin(iq23 x)
{
   iq23 temp;
   temp.val = _IQ23sin(x.val);
   return temp;
}

inline	iq22	IQ22sin(iq22 x)
{
   iq22 temp;
   temp.val = _IQ22sin(x.val);
   return temp;
}

inline	iq21	IQ21sin(iq21 x)
{
   iq21 temp;
   temp.val = _IQ21sin(x.val);
   return temp;
}

inline	iq20	IQ20sin(iq20 x)
{
   iq20 temp;
   temp.val = _IQ20sin(x.val);
   return temp;
}

inline	iq19	IQ19sin(iq19 x)
{
   iq19 temp;
   temp.val = _IQ19sin(x.val);
   return temp;
}

inline	iq18	IQ18sin(iq18 x)
{
   iq18 temp;
   temp.val = _IQ18sin(x.val);
   return temp;
}

inline	iq17	IQ17sin(iq17 x)
{
   iq17 temp;
   temp.val = _IQ17sin(x.val);
   return temp;
}

inline	iq16	IQ16sin(iq16 x)
{
   iq16 temp;
   temp.val = _IQ16sin(x.val);
   return temp;
}

inline	iq15	IQ15sin(iq15 x)
{
   iq15 temp;
   temp.val = _IQ15sin(x.val);
   return temp;
}

//---------------------------------------------------------------------------
// Functions: IQsinPU(A), IQNsinPU(A)
//---------------------------------------------------------------------------

inline	iq	IQsinPU(iq x)
{
   iq temp;
   temp.val = _IQsinPU(x.val);
   return temp;
}

inline	iq30	IQ30sinPU(iq30 x)
{
   iq30 temp;
   temp.val = _IQ30sinPU(x.val);
   return temp;
}

inline	iq29	IQ29sinPU(iq29 x)
{
   iq29 temp;
   temp.val = _IQ29sinPU(x.val);
   return temp;
}

inline	iq28	IQ28sinPU(iq28 x)
{
   iq28 temp;
   temp.val = _IQ28sinPU(x.val);
   return temp;
}

inline	iq27	IQ27sinPU(iq27 x)
{
   iq27 temp;
   temp.val = _IQ27sinPU(x.val);
   return temp;
}

inline	iq26	IQ26sinPU(iq26 x)
{
   iq26 temp;
   temp.val = _IQ26sinPU(x.val);
   return temp;
}

inline	iq25	IQ25sinPU(iq25 x)
{
   iq25 temp;
   temp.val = _IQ25sinPU(x.val);
   return temp;
}

inline	iq24	IQ24sinPU(iq24 x)
{
   iq24 temp;
   temp.val = _IQ24sinPU(x.val);
   return temp;
}

inline	iq23	IQ23sinPU(iq23 x)
{
   iq23 temp;
   temp.val = _IQ23sinPU(x.val);
   return temp;
}

inline	iq22	IQ22sinPU(iq22 x)
{
   iq22 temp;
   temp.val = _IQ22sinPU(x.val);
   return temp;
}

inline	iq21	IQ21sinPU(iq21 x)
{
   iq21 temp;
   temp.val = _IQ21sinPU(x.val);
   return temp;
}

inline	iq20	IQ20sinPU(iq20 x)
{
   iq20 temp;
   temp.val = _IQ20sinPU(x.val);
   return temp;
}

inline	iq19	IQ19sinPU(iq19 x)
{
   iq19 temp;
   temp.val = _IQ19sinPU(x.val);
   return temp;
}

inline	iq18	IQ18sinPU(iq18 x)
{
   iq18 temp;
   temp.val = _IQ18sinPU(x.val);
   return temp;
}

inline	iq17	IQ17sinPU(iq17 x)
{
   iq17 temp;
   temp.val = _IQ17sinPU(x.val);
   return temp;
}

inline	iq16	IQ16sinPU(iq16 x)
{
   iq16 temp;
   temp.val = _IQ16sinPU(x.val);
   return temp;
}

inline	iq15	IQ15sinPU(iq15 x)
{
   iq15 temp;
   temp.val = _IQ15sinPU(x.val);
   return temp;
}

//---------------------------------------------------------------------------
// Functions: IQcos(A), IQNcos(A)
//---------------------------------------------------------------------------

inline	iq	IQcos(iq x)
{
   iq temp;
   temp.val = _IQcos(x.val);
   return temp;
}

inline	iq30	IQ30cos(iq30 x)
{
   iq30 temp;
   temp.val = _IQ30cos(x.val);
   return temp;
}

inline	iq29	IQ29cos(iq29 x)
{
   iq29 temp;
   temp.val = _IQ29cos(x.val);
   return temp;
}

inline	iq28	IQ28cos(iq28 x)
{
   iq28 temp;
   temp.val = _IQ28cos(x.val);
   return temp;
}

inline	iq27	IQ27cos(iq27 x)
{
   iq27 temp;
   temp.val = _IQ27cos(x.val);
   return temp;
}

inline	iq26	IQ26cos(iq26 x)
{
   iq26 temp;
   temp.val = _IQ26cos(x.val);
   return temp;
}

inline	iq25	IQ25cos(iq25 x)
{
   iq25 temp;
   temp.val = _IQ25cos(x.val);
   return temp;
}

inline	iq24	IQ24cos(iq24 x)
{
   iq24 temp;
   temp.val = _IQ24cos(x.val);
   return temp;
}

inline	iq23	IQ23cos(iq23 x)
{
   iq23 temp;
   temp.val = _IQ23cos(x.val);
   return temp;
}

inline	iq22	IQ22cos(iq22 x)
{
   iq22 temp;
   temp.val = _IQ22cos(x.val);
   return temp;
}

inline	iq21	IQ21cos(iq21 x)
{
   iq21 temp;
   temp.val = _IQ21cos(x.val);
   return temp;
}

inline	iq20	IQ20cos(iq20 x)
{
   iq20 temp;
   temp.val = _IQ20cos(x.val);
   return temp;
}

inline	iq19	IQ19cos(iq19 x)
{
   iq19 temp;
   temp.val = _IQ19cos(x.val);
   return temp;
}

inline	iq18	IQ18cos(iq18 x)
{
   iq18 temp;
   temp.val = _IQ18cos(x.val);
   return temp;
}

inline	iq17	IQ17cos(iq17 x)
{
   iq17 temp;
   temp.val = _IQ17cos(x.val);
   return temp;
}

inline	iq16	IQ16cos(iq16 x)
{
   iq16 temp;
   temp.val = _IQ16cos(x.val);
   return temp;
}

inline	iq15	IQ15cos(iq15 x)
{
   iq15 temp;
   temp.val = _IQ15cos(x.val);
   return temp;
}

//---------------------------------------------------------------------------
// Functions: IQcosPU(A), IQNcosPU(A)
//---------------------------------------------------------------------------

inline	iq	IQcosPU(iq x)
{
   iq temp;
   temp.val = _IQcosPU(x.val);
   return temp;
}

inline	iq30	IQ30cosPU(iq30 x)
{
   iq30 temp;
   temp.val = _IQ30cosPU(x.val);
   return temp;
}

inline	iq29	IQ29cosPU(iq29 x)
{
   iq29 temp;
   temp.val = _IQ29cosPU(x.val);
   return temp;
}

inline	iq28	IQ28cosPU(iq28 x)
{
   iq28 temp;
   temp.val = _IQ28cosPU(x.val);
   return temp;
}

inline	iq27	IQ27cosPU(iq27 x)
{
   iq27 temp;
   temp.val = _IQ27cosPU(x.val);
   return temp;
}

inline	iq26	IQ26cosPU(iq26 x)
{
   iq26 temp;
   temp.val = _IQ26cosPU(x.val);
   return temp;
}

inline	iq25	IQ25cosPU(iq25 x)
{
   iq25 temp;
   temp.val = _IQ25cosPU(x.val);
   return temp;
}

inline	iq24	IQ24cosPU(iq24 x)
{
   iq24 temp;
   temp.val = _IQ24cosPU(x.val);
   return temp;
}

inline	iq23	IQ23cosPU(iq23 x)
{
   iq23 temp;
   temp.val = _IQ23cosPU(x.val);
   return temp;
}

inline	iq22	IQ22cosPU(iq22 x)
{
   iq22 temp;
   temp.val = _IQ22cosPU(x.val);
   return temp;
}

inline	iq21	IQ21cosPU(iq21 x)
{
   iq21 temp;
   temp.val = _IQ21cosPU(x.val);
   return temp;
}

inline	iq20	IQ20cosPU(iq20 x)
{
   iq20 temp;
   temp.val = _IQ20cosPU(x.val);
   return temp;
}

inline	iq19	IQ19cosPU(iq19 x)
{
   iq19 temp;
   temp.val = _IQ19cosPU(x.val);
   return temp;
}

inline	iq18	IQ18cosPU(iq18 x)
{
   iq18 temp;
   temp.val = _IQ18cosPU(x.val);
   return temp;
}

inline	iq17	IQ17cosPU(iq17 x)
{
   iq17 temp;
   temp.val = _IQ17cosPU(x.val);
   return temp;
}

inline	iq16	IQ16cosPU(iq16 x)
{
   iq16 temp;
   temp.val = _IQ16cosPU(x.val);
   return temp;
}

inline	iq15	IQ15cosPU(iq15 x)
{
   iq15 temp;
   temp.val = _IQ15cosPU(x.val);
   return temp;
}

//---------------------------------------------------------------------------
// Functions: IQatan2(A,B), IQNatan2(A,B)
//---------------------------------------------------------------------------

inline	iq	IQatan2(iq y, iq x)
{
   iq temp;
   temp.val = _IQatan2(y.val, x.val);
   return temp;
}

inline	iq30	IQ30atan2(iq30 y, iq30 x)
{
   iq30 temp;
   temp.val = _IQ30atan2(y.val, x.val);
   return temp;
}

inline	iq29	IQ29atan2(iq29 y, iq29 x)
{
   iq29 temp;
   temp.val = _IQ29atan2(y.val, x.val);
   return temp;
}

inline	iq28	IQ28atan2(iq28 y, iq28 x)
{
   iq28 temp;
   temp.val = _IQ28atan2(y.val, x.val);
   return temp;
}

inline	iq27	IQ27atan2(iq27 y, iq27 x)
{
   iq27 temp;
   temp.val = _IQ27atan2(y.val, x.val);
   return temp;
}

inline	iq26	IQ26atan2(iq26 y, iq26 x)
{
   iq26 temp;
   temp.val = _IQ26atan2(y.val, x.val);
   return temp;
}

inline	iq25	IQ25atan2(iq25 y, iq25 x)
{
   iq25 temp;
   temp.val = _IQ25atan2(y.val, x.val);
   return temp;
}

inline	iq24	IQ24atan2(iq24 y, iq24 x)
{
   iq24 temp;
   temp.val = _IQ24atan2(y.val, x.val);
   return temp;
}

inline	iq23	IQ23atan2(iq23 y, iq23 x)
{
   iq23 temp;
   temp.val = _IQ23atan2(y.val, x.val);
   return temp;
}

inline	iq22	IQ22atan2(iq22 y, iq22 x)
{
   iq22 temp;
   temp.val = _IQ22atan2(y.val, x.val);
   return temp;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -