we need the f's

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11188 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-01-14 15:06:51 +00:00
parent 82abe0e7b7
commit 4061566f78
2 changed files with 1472 additions and 1472 deletions

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,7 @@ static void set_up_one_table(int length)
for (index = 0; index < length - 1; index++) for (index = 0; index < length - 1; index++)
{ {
angle = scale*((double) index + 0.5); angle = scale*((double) index + 0.5);
printf(" {%.15e, %.15e},\n", cos(angle), -sin(angle)); printf(" {%.15ef, %.15ef},\n", cos(angle), -sin(angle));
} }
angle = scale*((double) index + 0.5); angle = scale*((double) index + 0.5);
printf(" {%.15e, %.15e}\n", cos(angle), -sin(angle)); printf(" {%.15e, %.15e}\n", cos(angle), -sin(angle));
@ -76,7 +76,7 @@ int main(int argc, char *argv[])
{ {
for (i = 0; i < 10; ++i) for (i = 0; i < 10; ++i)
{ {
printf(" %22.15e%s\n", printf(" %22.15ef%s\n",
cos(PI*(k + 0.5) * (i + 0.5)/10.0)*scale, cos(PI*(k + 0.5) * (i + 0.5)/10.0)*scale,
(k == 9 && i == 9) ? "" : ","); (k == 9 && i == 9) ? "" : ",");
} }
@ -90,7 +90,7 @@ int main(int argc, char *argv[])
{ {
for (i = 0; i < 10; ++i) for (i = 0; i < 10; ++i)
{ {
printf(" %22.15e%s\n", printf(" %22.15ef%s\n",
cos(PI*(k + 0.5) * (i + 0.5)/10.0)*scale, cos(PI*(k + 0.5) * (i + 0.5)/10.0)*scale,
(k == 9 && i == 9) ? "" : ","); (k == 9 && i == 9) ? "" : ",");
} }