sipxmedialib  Version 3.3
Macros
MpDspUtilsIntSqrt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INNER_ISQRT(s)
 

Detailed Description

DO NOT INCLUDE THIS FILE DIRECTLY! This files is designed to be included to <mp/MpDspUtils.h> and should not be used outside of it.

This code is taken from http://www.azillionmonkeys.com/qed/sqroot.html (c) Copyright 1996-2006 by Paul Hsieh

Everything you ever wanted to know about square roots, but were afraid to ask.

Macro Definition Documentation

#define INNER_ISQRT (   s)
Value:
temp = (g << (s)) + (1 << ((s) * 2 - 2)); \
if (val >= temp) \
{ \
g += 1 << ((s)-1); \
val -= temp; \
}