Searched refs:M_LOG2E (Results 1 – 7 of 7) sorted by relevance
135 #ifndef M_LOG2E136 #define M_LOG2E (1.4426950408889634074) macro
20 #if !defined(M_LOG2E)21 #define M_LOG2E (1.4426950408889634073599246810019) macro23 #define OD_LOG2(x) (M_LOG2E * log(x))
47 #ifndef M_LOG2E48 # define M_LOG2E 1.4426950408889634074 macro86 entropy+=log(ft)*M_LOG2E; in main()
196 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()
473 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */ in _mesa_fetch_state()
275 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()
217 #define M_LOG2E 0x1.71547652b82fep+0 macro