...
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Thu, 6 Nov 2003 09:14:53 +0000 (09:14 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Thu, 6 Nov 2003 09:14:53 +0000 (09:14 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@5538 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/math_approx.c

index 6cef31c..9d42903 100644 (file)
@@ -35,6 +35,7 @@
 
 #ifdef FIXED_POINT
 
+/* sqrt(x) ~= 0.22178 + 1.29227*x - 0.77070*x^2 + 0.25723*x^3 (for .25 < x < 1) */
 #define C0 3634
 #define C1 21173
 #define C2 -12627
@@ -84,4 +85,6 @@ spx_word16_t sqroot(spx_word32_t x)
    return rt;
 }
 
+/* log(x) ~= -2.18151 + 4.20592*x - 2.88938*x^2 + 0.86535*x^3 (for .5 < x < 1) */
+
 #endif