Home
last modified time | relevance | path

Searched refs:M_LOG2E (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/include/
Dc99_math.h135 #ifndef M_LOG2E
136 #define M_LOG2E (1.4426950408889634074) macro
/external/libaom/libaom/aom_dsp/
Dentenc.c20 #if !defined(M_LOG2E)
21 #define M_LOG2E (1.4426950408889634073599246810019) macro
23 #define OD_LOG2(x) (M_LOG2E * log(x))
/external/libopus/celt/tests/
Dtest_unit_entropy.c47 #ifndef M_LOG2E
48 # define M_LOG2E 1.4426950408889634074 macro
86 entropy+=log(ft)*M_LOG2E; in main()
/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c196 return nir_fexp2(b, nir_fmul(b, x, nir_imm_float(b, M_LOG2E))); in build_exp()
205 return nir_fmul(b, nir_flog2(b, x), nir_imm_float(b, 1.0 / M_LOG2E)); in build_log()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c473 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */ in _mesa_fetch_state()
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp275 ir_constant *log2_e = new(ir) ir_constant(float(M_LOG2E)); in exp_to_exp2()
306 ir->operands[1] = new(ir) ir_constant(float(1.0 / M_LOG2E)); in log_to_log2()
/external/clang/lib/Headers/
Dopencl-c.h217 #define M_LOG2E 0x1.71547652b82fep+0 macro