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

gitlab.com/quite/celt.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@usherbrooke.ca>2010-06-21 06:48:50 +0400
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2010-06-21 07:01:33 +0400
commit6c3788cb536c519fe5cee63f63c706a07c47fc62 (patch)
tree7636d5b66bd2f380cc42f282c4106d596ed95ab6 /tests
parentdc68eb231f98533b61d5451233a1d518729946cf (diff)
Removing old PCL, added plc.h
Diffstat (limited to 'tests')
-rw-r--r--tests/mathops-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mathops-test.c b/tests/mathops-test.c
index 5f086ae..dd48baa 100644
--- a/tests/mathops-test.c
+++ b/tests/mathops-test.c
@@ -122,7 +122,7 @@ void testlog2(void)
celt_word32 x;
for (x=8;x<1073741824;x+=(x>>3))
{
- float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/256.0);
+ float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/1024.0);
if (error>0.003)
{
fprintf (stderr, "celt_log2 failed: x = %ld, error = %f\n", (long)x,error);