shithub: opus

Download patch

ref: 5a29ca93acc1b165498e1d8938d7bdfdf89c167a
parent: 738c29fc5f2c963fdc89d9123192e6b7606ed6c9
author: Jean-Marc Valin <jeanmarcv@google.com>
date: Fri Mar 14 12:06:31 EDT 2025

Looser error bound for celt_log2()

--- a/celt/tests/test_unit_mathops.c
+++ b/celt/tests/test_unit_mathops.c
@@ -146,7 +146,7 @@
 void testlog2(void)
 {
    float x;
-   float error_threshold = 2.e-06;
+   float error_threshold = 2.2e-06;
    float max_error = 0;
    for (x=0.001f;x<1677700.0;x+=(x/8.0))
    {
--