atant_t.c
来自「CCS3.3自带的TI 5400系列DSP的dsplib文件。文档说明可以在TI」· C语言 代码 · 共 32 行
C
32 行
//*****************************************************************************
// Filename: atant_t.c
// Version: 1.00
// Description: test for atan routine
//*****************************************************************************
#include <math.h>
#include <tms320.h>
#include <dsplib.h>
#include "test.h"
short i;
short eflag= PASS;
void main(void)
{
/* compute */
for (i=0; i<NX; i++) r[i] = 0;
atan16(x, r, NX);
eflag = test(r, rtest, NX, MAXERROR);
if (eflag != PASS)
{
exit(-1);
}
return;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?