]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
we need the f's
authorMichael Jerris <mike@jerris.com>
Wed, 14 Jan 2009 15:13:59 +0000 (15:13 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 14 Jan 2009 15:13:59 +0000 (15:13 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11189 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libg722_1/src/dct4.h
libs/libg722_1/src/make_dct4_tables.c

index 75614669368ff7c2ed742ae1cdae1fa1fe07a1b6..15e479e052b20cf2ec11b5d7bff198eb3049bdb3 100644 (file)
@@ -212,7 +212,7 @@ static const cos_msin_t cos_msin_5[5] =
     {9.723699203976766e-01f, -2.334453638559054e-01f},
     {9.238795325112867e-01f, -3.826834323650898e-01f},
     {8.526401643540922e-01f, -5.224985647159488e-01f},
-    {7.604059656000309e-01, -6.494480483301837e-01}
+    {7.604059656000309e-01f, -6.494480483301837e-01f}
 };
 
 static const cos_msin_t cos_msin_10[10] =
@@ -226,7 +226,7 @@ static const cos_msin_t cos_msin_10[10] =
     {8.724960070727972e-01f, -4.886212414969549e-01f},
     {8.314696123025452e-01f, -5.555702330196022e-01f},
     {7.853169308807449e-01f, -6.190939493098340e-01f},
-    {7.343225094356856e-01, -6.788007455329417e-01}
+    {7.343225094356856e-01f, -6.788007455329417e-01f}
 };
 
 static const cos_msin_t cos_msin_20[20] =
@@ -250,7 +250,7 @@ static const cos_msin_t cos_msin_20[20] =
     {7.973206537727071e-01f, -6.035559419535714e-01f},
     {7.730104533627370e-01f, -6.343932841636455e-01f},
     {7.475083268625968e-01f, -6.642524379112817e-01f},
-    {7.208535967029188e-01, -6.930873625456359e-01}
+    {7.208535967029188e-01f, -6.930873625456359e-01f}
 };
 
 static const cos_msin_t cos_msin_40[40] =
@@ -294,7 +294,7 @@ static const cos_msin_t cos_msin_40[40] =
     {7.539934819618694e-01f, -6.568818989430414e-01f},
     {7.409511253549591e-01f, -6.715589548470183e-01f},
     {7.276231179845748e-01f, -6.859771119901928e-01f},
-    {7.140145980512683e-01, -7.001308118985236e-01}
+    {7.140145980512683e-01f, -7.001308118985236e-01f}
 };
 
 static const cos_msin_t cos_msin_80[80] =
@@ -378,7 +378,7 @@ static const cos_msin_t cos_msin_80[80] =
     {7.309816204544317e-01f, -6.823971501682968e-01f},
     {7.242470829514670e-01f, -6.895405447370668e-01f},
     {7.174427410072399e-01f, -6.966174799529642e-01f},
-    {7.105692504383896e-01, -7.036272737262429e-01}
+    {7.105692504383896e-01f, -7.036272737262429e-01f}
 };
 
 static const cos_msin_t cos_msin_160[160] =
@@ -542,7 +542,7 @@ static const cos_msin_t cos_msin_160[160] =
     {7.191503349090794e-01f, -6.948545141251936e-01f},
     {7.157308252838186e-01f, -6.983762494089729e-01f},
     {7.122940696480137e-01f, -7.018811568522627e-01f},
-    {7.088401508125785e-01, -7.053691520019861e-01}
+    {7.088401508125785e-01f, -7.053691520019861e-01f}
 };
 
 static const cos_msin_t cos_msin_320[320] =
@@ -866,7 +866,7 @@ static const cos_msin_t cos_msin_320[320] =
     {7.131548708488146e-01f, -7.010065122269625e-01f},
     {7.114321957452164e-01f, -7.027547444572253e-01f},
     {7.097052350271130e-01f, -7.044987433453024e-01f},
-    {7.079739990975870e-01, -7.062384983854745e-01}
+    {7.079739990975870e-01f, -7.062384983854745e-01f}
 };
 
 static const cos_msin_t cos_msin_640[640] =
@@ -1510,6 +1510,6 @@ static const cos_msin_t cos_msin_640[640] =
     {7.101373764145209e-01f, -7.040631410740809e-01f},
     {7.092728264388657e-01f, -7.049340803759049e-01f},
     {7.084072083111520e-01f, -7.058039580597435e-01f},
-    {7.075405233349850e-01, -7.066727728155766e-01}
+    {7.075405233349850e-01f, -7.066727728155766e-01f}
 };
 
index ff4df4c20addbc43118642497366b200ab93149c..015daf355a884cf002ea80c71024dea57fa61cf9 100644 (file)
@@ -47,7 +47,7 @@ static void set_up_one_table(int length)
         printf("    {%.15ef, %.15ef},\n", cos(angle), -sin(angle));
     }
     angle = scale*((double) index + 0.5);
-    printf("    {%.15e, %.15e}\n", cos(angle), -sin(angle));
+    printf("    {%.15ef, %.15ef}\n", cos(angle), -sin(angle));
     printf("};\n\n");
 }
 /*- End of function --------------------------------------------------------*/