IQmath Library
IQmath Library
IQmath Library
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
IQNatan<br />
Description<br />
Fixed point ATAN (in radians)<br />
This module computes arctangent. Output of this module is in radians<br />
that vary from −<br />
π<br />
2<br />
to π 2<br />
.<br />
Input “A”<br />
IQNatan<br />
output<br />
Availability<br />
C/C++ Callable Assembly<br />
Module Properties<br />
Type: Target Independent, Application Independent<br />
Target Devices: x28xx<br />
C/CPP Interface Files: <strong>IQmath</strong>Lib.h, <strong>IQmath</strong>CPP.h & <strong>IQmath</strong>.lib<br />
Item C-Callable ASM Comments<br />
Code Size<br />
123 words<br />
Data RAM<br />
0 words<br />
Multiple instances N/A<br />
Reentrancy Yes<br />
Multiple Invocation Yes<br />
Stack usage 2 words Stack grows by 2 words<br />
⎛π<br />
⎞<br />
20 2 ⎜ ⎟ − 2<br />
⎝ 2 ⎠<br />
29<br />
Accuracy = log × 2 20 log ( 2)<br />
= 25 bits<br />
©Texas Instruments Inc., June 2002 52