Home | History | Annotate | Download | only in tests

Lines Matching refs:celt_log2

157       float error = fabs((1.442695040888963387*log(x))-celt_log2(x));
160 fprintf (stderr, "celt_log2 failed: fabs((1.442695040888963387*log(x))-celt_log2(x))>0.001 (x = %f, error = %f)\n", x,error);
185 float error = fabs(x-(celt_log2(celt_exp2(x))));
188 fprintf (stderr, "celt_log2/celt_exp2 failed: fabs(x-(celt_log2(celt_exp2(x))))>0.001 (x = %f, error = %f)\n", x,error);
199 float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/1024.0);
202 fprintf (stderr, "celt_log2 failed: x = %ld, error = %f\n", (long)x,error);
228 float error = fabs(x-0.25*celt_exp2(celt_log2(x)))/16384;
231 fprintf (stderr, "celt_log2/celt_exp2 failed: fabs(x-(celt_exp2(celt_log2(x))))>0.001 (x = %ld, error = %f)\n", (long)x,error);