Searched refs:M_LN2 (Results 1 – 14 of 14) sorted by relevance
/external/flac/src/libFLAC/ |
D | fixed_intrin_ssse3.c | 139 …r_sample[0] = (float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_ssse3() 140 …r_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_ssse3() 141 …r_sample[2] = (float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_ssse3() 142 …r_sample[3] = (float)((total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_ssse3() 143 …r_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_ssse3() 231 …r_sample[0] = (float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_ssse3() 232 …r_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_ssse3() 233 …r_sample[2] = (float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_ssse3() 234 …r_sample[3] = (float)((total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_ssse3() 235 …r_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_ssse3()
|
D | fixed_intrin_sse2.c | 145 …r_sample[0] = (float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_sse2() 146 …r_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_sse2() 147 …r_sample[2] = (float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_sse2() 148 …r_sample[3] = (float)((total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_sse2() 149 …r_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) … in FLAC__fixed_compute_best_predictor_intrin_sse2() 243 …r_sample[0] = (float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_sse2() 244 …r_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_sse2() 245 …r_sample[2] = (float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_sse2() 246 …r_sample[3] = (float)((total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_sse2() 247 …r_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide_intrin_sse2()
|
D | fixed.c | 258 …r_sample[0] = (float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … in FLAC__fixed_compute_best_predictor() 259 …r_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … in FLAC__fixed_compute_best_predictor() 260 …r_sample[2] = (float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … in FLAC__fixed_compute_best_predictor() 261 …r_sample[3] = (float)((total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … in FLAC__fixed_compute_best_predictor() 262 …r_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) … in FLAC__fixed_compute_best_predictor() 320 …r_sample[0] = (float)((total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide() 321 …r_sample[1] = (float)((total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide() 322 …r_sample[2] = (float)((total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide() 323 …r_sample[3] = (float)((total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide() 324 …r_sample[4] = (float)((total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) … in FLAC__fixed_compute_best_predictor_wide()
|
D | lpc.c | 1319 double bps = (double)0.5 * log(error_scale * lpc_error) / M_LN2; in FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale()
|
/external/flac/src/libFLAC/ia32/ |
D | fixed_asm.nasm | 73 …loat)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … 74 …loat)((data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … 75 …loat)((data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … 76 …loat)((data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … 77 …loat)((data_len > 0 && total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) … 202 …loat)((data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (double)total_error_0 / (double)data_len) … 203 …loat)((data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (double)total_error_1 / (double)data_len) … 204 …loat)((data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (double)total_error_2 / (double)data_len) … 205 …loat)((data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (double)total_error_3 / (double)data_len) … 206 …loat)((data_len > 0 && total_error_4 > 0) ? log(M_LN2 * (double)total_error_4 / (double)data_len) …
|
/external/flac/include/share/ |
D | compat.h | 189 #ifndef M_LN2 190 #define M_LN2 0.69314718055994530942 macro
|
/external/pffft/ |
D | bench_pffft.c | 114 #ifndef M_LN2 115 #define M_LN2 0.69314718055994530942 /* log_e 2 */ macro 582 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… 627 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… 678 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… 738 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… 782 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… 838 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… 899 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… 937 …flops = (max_iter*2) * ((cplx ? 5 : 2.5)*N*log((double)N)/M_LN2); /* see http://www.fftw.org/speed… [all …]
|
/external/llvm-project/libclc/generic/include/clc/float/ |
D | definitions.h | 55 #define M_LN2 0x1.62e42fefa39efp-1 macro
|
/external/pdfium/third_party/libtiff/ |
D | tif_luv.c | 734 #ifndef M_LN2 735 #define M_LN2 0.69314718055994530942 macro 741 #define log2(x) ((1./M_LN2)*log(x)) 743 #define exp2(x) exp(M_LN2*(x)) 765 Y = exp(M_LN2/256.*(Le+.5) - M_LN2*64.); in LogL16toY() 844 return (exp(M_LN2/64.*(p10+.5) - M_LN2*12.)); in LogL10toY()
|
/external/python/cpython2/Modules/ |
D | cmathmodule.c | 15 #ifndef M_LN2 16 #define M_LN2 (0.6931471805599453094) /* natural log of 2 */ macro 140 M_LN2*2., z.imag); in c_acos() 143 M_LN2*2., -z.imag); in c_acos() 176 r.real = log(hypot(z.real/2., z.imag/2.)) + M_LN2*2.; in c_acosh() 229 M_LN2*2., z.real); in c_asinh() 232 M_LN2*2., -z.real); in c_asinh() 537 r.real = log(hypot(ax/2., ay/2.)) + M_LN2; in c_log() 542 ldexp(ay, DBL_MANT_DIG))) - DBL_MANT_DIG*M_LN2; in c_log()
|
/external/python/cpython3/Modules/ |
D | cmathmodule.c | 49 #ifndef M_LN2 50 #define M_LN2 (0.6931471805599453094) /* natural log of 2 */ macro 232 M_LN2*2., z.imag); in cmath_acos_impl() 235 M_LN2*2., -z.imag); in cmath_acos_impl() 270 r.real = log(hypot(z.real/2., z.imag/2.)) + M_LN2*2.; in cmath_acosh_impl() 326 M_LN2*2., z.real); in cmath_asinh_impl() 329 M_LN2*2., -z.real); in cmath_asinh_impl() 638 r.real = log(hypot(ax/2., ay/2.)) + M_LN2; in c_log() 643 ldexp(ay, DBL_MANT_DIG))) - DBL_MANT_DIG*M_LN2; in c_log()
|
/external/llvm-project/clang/lib/Headers/ |
D | opencl-c-base.h | 206 #define M_LN2 0x1.62e42fefa39efp-1 macro
|
/external/gptfdisk/ |
D | gpt.cc | 36 #define log2(x) (log(x) / M_LN2)
|
/external/clang/lib/Headers/ |
D | opencl-c.h | 219 #define M_LN2 0x1.62e42fefa39efp-1 macro
|