Home
last modified time | relevance | path

Searched refs:M_LOG2E (Results 1 – 8 of 8) 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/nir/
Dnir_builtin_builder.h92 return nir_fexp2(b, nir_fmul_imm(b, x, M_LOG2E)); in nir_fexp()
98 return nir_fmul_imm(b, nir_flog2(b, x), 1.0 / M_LOG2E); in nir_flog()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c473 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */ in fetch_state()
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp283 ir_constant *log2_e = _imm_fp(ir, ir->type, M_LOG2E); in exp_to_exp2()
314 ir->operands[1] = _imm_fp(ir, ir->operands[0]->type, 1.0 / M_LOG2E); in log_to_log2()
/external/mesa3d/docs/relnotes/
D7.10.rst1620 - glsl: Use M_LOG2E constant instead of calling log2
/external/clang/lib/Headers/
Dopencl-c.h217 #define M_LOG2E 0x1.71547652b82fep+0 macro