In addition to installing the IQmath software, to include an IQmath function in your code you have to:
Include the IQmathLib.h include file Link your code with the IQmath object code library. This will normally be the IQmath.lib library. If you have a C28x with floating-point device and wish to mix IQmath and native floating-point, then use the IQmath_fpu32.lib. This file contains all of the IQmath functions in object format. The library is constructed such that ONLY the functions that are used are included as part of the project. This minimizes code size. The linker command file should be updated to properly access the IQmath lookup tables and place the IQmath code in the memory block you wish. These sections are described later in this chapter. Call the functions using the _iq and _iqN data types along with the C-code function definitions. For example, the following code contains a call to the IQ25sin routines in IQmath Library: