DSP2812浮点运算库.doc
文本预览下载声明
//###########################################################################
//
// FILE: IQmathLib.h
//
// TITLE: IQ Math library functions definitions.
//
//###########################################################################
//
// Ver | dd-mmm-yyyy | Who | Description of changes
// =====|=============|=======|==============================================
// 1.3 | 19 Nov 2001 | A. T. | Original Release.
// -----|-------------|-------|----------------------------------------------
// 1.4 | 17 May 2002 | A. T. | Added new functions and support for
// | | | intrinsics IQmpy, IQxmpy, IQsat.
// -----|-------------|-------|----------------------------------------------
// 1.4a| 12 Jun 2002 | A. T. | Fixed problem with _IQ() operation on
// | | | variables.
// -----|-------------|-------|----------------------------------------------
// 1.4b| 18 Jun 2002 | A. T. | Fixed bug with _IQtoIQN() and _IQNtoIQ()
// | | | operations.
// -----|-------------|-------|----------------------------------------------
// 1.4d| 30 Mar 2003 | DA/SD | 1. Added macro parameters in parentheses
// | | | in number of places where it matters
// | | | 2. Added macro definition to include header
// | | | file multiple times in the program.
// -----|-------------|-------|----------------------------------------------
//
//###########################################################################
//
// User needs to configure MATH_TYPE and GLOBAL_Q values:
//
//---------------------------------------------------------------------------
// Select math type, IQ_MATH or FLOAT_MATH:
//
#ifndef __IQMATHLIB_H_INCLUDED__
#define __IQMATHLIB_H_INCLUDED__
#define FLOAT_MATH 1
#define IQ_MATH 0
#ifndef MATH_TYPE
#define MATH_TYPE IQ_MATH
#endif
//--------------------------------------------------------------------------
显示全部