07.03.2014 Views

IQmath Library

IQmath Library

IQmath Library

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IQNisqrt<br />

Fixed point Inverse Square-root<br />

Description<br />

This module computes the inverse square root of the input using table<br />

lookup and Newton-Raphson approximation.<br />

input<br />

IQNisqrt<br />

output<br />

Availability<br />

C-Callable Assembly (CcA)<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 />

69 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 />

31<br />

Accuracy = log ( 2 ) 20log ( 5)<br />

20<br />

2<br />

−<br />

2<br />

=29 bits<br />

©Texas Instruments Inc., June 2002 57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!