Searched refs:M_LN2 (Results 1 – 7 of 7) sorted by relevance
258 …= (FLAC__float)((total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor()259 …= (FLAC__float)((total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor()260 …= (FLAC__float)((total_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor()261 …= (FLAC__float)((total_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor()262 …= (FLAC__float)((total_error_4 > 0) ? log(M_LN2 * (FLAC__double)total_error_4 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor()320 …= (FLAC__float)((total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor_wide()321 …= (FLAC__float)((total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor_wide()322 …= (FLAC__float)((total_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor_wide()323 …= (FLAC__float)((total_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor_wide()324 …= (FLAC__float)((total_error_4 > 0) ? log(M_LN2 * (FLAC__double)total_error_4 / (FLAC__double)data… in FLAC__fixed_compute_best_predictor_wide()
1319 FLAC__double bps = (FLAC__double)0.5 * log(error_scale * lpc_error) / M_LN2; in FLAC__lpc_compute_expected_bits_per_residual_sample_with_error_scale()
72 …(data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data…73 …(data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data…74 …(data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data…75 …(data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data…76 …(data_len > 0 && total_error_4 > 0) ? log(M_LN2 * (FLAC__double)total_error_4 / (FLAC__double)data…201 …(data_len > 0 && total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data…202 …(data_len > 0 && total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data…203 …(data_len > 0 && total_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data…204 …(data_len > 0 && total_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data…205 …(data_len > 0 && total_error_4 > 0) ? log(M_LN2 * (FLAC__double)total_error_4 / (FLAC__double)data…
178 #ifndef M_LN2179 #define M_LN2 0.69314718055994530942 macro
145 return log(d) * (1.0 / M_LN2); in log2()156 return logf(f) * (float) (1.0 / M_LN2); in log2f()
131 #define log2f(f) (logf(f) * (float) (1.0 / M_LN2))
34 #define log2(x) (log(x) / M_LN2)