Numerical Concepts & IQmath
Introduction
In this module, numerical concepts will be explored. One of the first considerations concerns
multiplication – how does the user store the results of a multiplication, when the process of mul-
tiplication creates results larger than the inputs. A similar concern arises when considering accu-
mulation – especially when long summations are performed. Then, IQmath will be described as a
technique for implementing a “virtual floating-point” system to simplify the design process.
The IQmath Library is a collection of highly optimized and high precision mathematical
functions used to seamlessly port floating-point algorithms into fixed-point code. These C/C++
routines are typically used in computationally intensive real-time applications where optimal
execution speed and high accuracy is needed. By using these routines a user can achieve
execution speeds considerable faster than equivalent code written in standard ANSI C language.
In addition, by incorporating the ready-to-use high precision functions, the IQmath library can
shorten significantly a DSP application development time. (The IQmath user's guide is included
in the application zip file, and can be found in the /docs folder once the file is extracted and
installed).
Learning Objectives
Learning Objectives
Learning Objectives
Compare/contrast integer and
Compare/contrast integer and
fractional operations
fractional operations
Discuss fixed
Discuss fixed
-
-
point math
point math
development limitations
development limitations
Compare/contrast floating
Compare/contrast floating
-
-
point and
point and
IQ representation
IQ representation
Describe the
Describe the
IQmath
IQmath
approach and
approach and
the problem it solves
the problem it solves
C28x - Numerical Concepts & IQmath 8 - 1