IQmath Library
IQmath Library
IQmath Library
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
IQNatan2<br />
Description<br />
Fixed point 4-quadrant ATAN (in radians)<br />
This module computes 4-quadrant arctangent. Output of this module is in<br />
radians that varies from<br />
− π to π<br />
Input “A”<br />
Input “B”<br />
IQNatan2<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 />
29<br />
Accuracy = log ( π × 2 ) 20log ( 32)<br />
20<br />
2<br />
−<br />
2<br />
= 26 bits<br />
©Texas Instruments Inc., June 2002 46