Searched refs:M_LN2 (Results 1 - 6 of 6) sorted by relevance

/external/flac/libFLAC/
H A Dfixed.c42 #ifndef M_LN2
44 #define M_LN2 0.69314718055994530942 macro
265 residual_bits_per_sample[0] = (FLAC__float)((total_error_0 > 0) ? log(M_LN2 * (FLAC__double)total_error_0 / (FLAC__double)data_len) / M_LN2 : 0.0);
266 residual_bits_per_sample[1] = (FLAC__float)((total_error_1 > 0) ? log(M_LN2 * (FLAC__double)total_error_1 / (FLAC__double)data_len) / M_LN2 : 0.0);
267 residual_bits_per_sample[2] = (FLAC__float)((total_error_2 > 0) ? log(M_LN2 * (FLAC__double)total_error_2 / (FLAC__double)data_len) / M_LN2 : 0.0);
268 residual_bits_per_sample[3] = (FLAC__float)((total_error_3 > 0) ? log(M_LN2 * (FLAC__double)total_error_3 / (FLAC__double)data_len) / M_LN2
[all...]
H A Dlpc.c47 #ifndef M_LN2
49 #define M_LN2 0.69314718055994530942 macro
1337 error_scale = 0.5 * M_LN2 * M_LN2 / (FLAC__double)total_samples;
1345 FLAC__double bps = (FLAC__double)0.5 * log(error_scale * lpc_error) / M_LN2;
1367 error_scale = 0.5 * M_LN2 * M_LN2 / (FLAC__double)total_samples;
/external/stlport/src/
H A Dcomplex_trig.cpp48 # if defined (M_LN2) && defined (FLT_MAX_EXP)
49 static const float float_limit = float(M_LN2 * FLT_MAX_EXP);
50 static const double double_limit = M_LN2 * DBL_MAX_EXP;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_math.h145 return log(d) * (1.0 / M_LN2);
156 return logf(f) * (float) (1.0 / M_LN2);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dimports.h131 #define log2f(f) (logf(f) * (float) (1.0 / M_LN2))
/external/mesa3d/src/mesa/main/
H A Dimports.h131 #define log2f(f) (logf(f) * (float) (1.0 / M_LN2))

Completed in 266 milliseconds