Searched refs:log2_e (Results 1 – 7 of 7) sorted by relevance
765 let log2_e = bf16::from_f32(core::f32::consts::LOG2_E); in test_bf16_consts_from_f32() localVariable785 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() localVariable843 assert_eq!(bf16::LOG2_E, log2_e); in test_bf16_consts_from_f64()
1054 let log2_e = f16::from_f32(core::f32::consts::LOG2_E); in test_f16_consts_from_f32() localVariable1074 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() localVariable1134 assert_eq!(f16::LOG2_E, log2_e); in test_f16_consts_from_f64()
609 const double log2_e = 1.4426950408889634073599246810019; in fold() local610 newConstArray[i].setDConst(log2_e * log(unionArray[i].getDConst())); in fold()
283 ir_constant *log2_e = _imm_fp(ir, ir->type, M_LOG2E); in exp_to_exp2() local288 ir->operands[0], log2_e); in exp_to_exp2()
305 const float log2_e = 1.4426950408889634074f; in approx_exp() local306 return approx_exp2(log2_e * x); in approx_exp()
113 const float log2_e = 1.4426950408889634074f; in expf_() local114 return exp2f_(log2_e * x); in expf_()
969 const float log2_e = 1.4426950408889634074f; in approx_exp() local970 return approx_pow2(log2_e * x); in approx_exp()