Home
last modified time | relevance | path

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

/external/rust/crates/half/src/
Dbfloat.rs765 let log2_e = bf16::from_f32(core::f32::consts::LOG2_E); in test_bf16_consts_from_f32() localVariable
785 assert_eq!(bf16::LOG2_E, log2_e); in test_bf16_consts_from_f32()
823 let log2_e = bf16::from_f64(core::f64::consts::LOG2_E); in test_bf16_consts_from_f64() localVariable
843 assert_eq!(bf16::LOG2_E, log2_e); in test_bf16_consts_from_f64()
Dbinary16.rs1054 let log2_e = f16::from_f32(core::f32::consts::LOG2_E); in test_f16_consts_from_f32() localVariable
1074 assert_eq!(f16::LOG2_E, log2_e); in test_f16_consts_from_f32()
1114 let log2_e = f16::from_f64(core::f64::consts::LOG2_E); in test_f16_consts_from_f64() localVariable
1134 assert_eq!(f16::LOG2_E, log2_e); in test_f16_consts_from_f64()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp609 const double log2_e = 1.4426950408889634073599246810019; in fold() local
610 newConstArray[i].setDConst(log2_e * log(unionArray[i].getDConst())); in fold()
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp283 ir_constant *log2_e = _imm_fp(ir, ir->type, M_LOG2E); in exp_to_exp2() local
288 ir->operands[0], log2_e); in exp_to_exp2()
/external/skia/third_party/skcms/src/
DTransform_inl.h305 const float log2_e = 1.4426950408889634074f; in approx_exp() local
306 return approx_exp2(log2_e * x); in approx_exp()
/external/skia/third_party/skcms/
Dskcms.cc113 const float log2_e = 1.4426950408889634074f; in expf_() local
114 return exp2f_(log2_e * x); in expf_()
/external/skia/src/opts/
DSkRasterPipeline_opts.h969 const float log2_e = 1.4426950408889634074f; in approx_exp() local
970 return approx_pow2(log2_e * x); in approx_exp()