Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-03-04 09:43:09 +0300
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-03-04 09:43:09 +0300
commit7137c26e4fce297c42a1f0baf9717d7b04f44673 (patch)
treec9a2d08ea3b8bdf72670d2163bb102ebb7f73894 /tests
parent7e94cc4d95bea05c206556956642f723d9e52f93 (diff)
fixed-point: exp_rotation() now fully converted, using an approximation of the
cos() and sin() functions.
Diffstat (limited to 'tests')
-rw-r--r--tests/rotation-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rotation-test.c b/tests/rotation-test.c
index b73762c..c675ae4 100644
--- a/tests/rotation-test.c
+++ b/tests/rotation-test.c
@@ -14,7 +14,7 @@ void test_rotation(int N, int K)
{
int i;
double err = 0, ener = 0, snr;
- float theta = .007*N/K;
+ celt_word16_t theta = Q15_ONE*.007*N/K;
celt_word16_t x0[MAX_SIZE];
celt_word16_t x1[MAX_SIZE];
for (i=0;i<N;i++)