提交 4061566f authored 作者: Michael Jerris's avatar Michael Jerris

we need the f's

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11188 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 82abe0e7
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -44,7 +44,7 @@ static void set_up_one_table(int length)
for (index = 0; index < length - 1; index++)
{
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);
printf(" {%.15e, %.15e}\n", cos(angle), -sin(angle));
......@@ -76,7 +76,7 @@ int main(int argc, char *argv[])
{
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,
(k == 9 && i == 9) ? "" : ",");
}
......@@ -90,7 +90,7 @@ int main(int argc, char *argv[])
{
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,
(k == 9 && i == 9) ? "" : ",");
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论