diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-06-21 06:48:50 +0400 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-06-21 07:01:33 +0400 |
commit | 6c3788cb536c519fe5cee63f63c706a07c47fc62 (patch) | |
tree | 7636d5b66bd2f380cc42f282c4106d596ed95ab6 /tests | |
parent | dc68eb231f98533b61d5451233a1d518729946cf (diff) |
Removing old PCL, added plc.h
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mathops-test.c | 2 |
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); |