Searched refs:LN_10 (Results 1 – 5 of 5) sorted by relevance
2258 Self::LN_2() / Self::LN_10()2263 Self::LN_10() / Self::LN_2()2303 LN_10,2380 assert!((F::LOG10_2() - F::LN_2() / F::LN_10()).abs() < diff); in extra_logs()2384 assert!((F::LOG2_10() - F::LN_10() / F::LN_2()).abs() < diff); in extra_logs()
308 pub const LN_10: f16 = f16::LN_10; constant758 pub const LN_10: f16 = f16(0x409Bu16); constant1049 let ln_10 = f16::from_f32(core::f32::consts::LN_10); in test_f16_consts_from_f32()1070 assert_eq!(f16::LN_10, ln_10); in test_f16_consts_from_f32()1109 let ln_10 = f16::from_f64(core::f64::consts::LN_10); in test_f16_consts_from_f64()1130 assert_eq!(f16::LN_10, ln_10); in test_f16_consts_from_f64()
449 pub const LN_10: bf16 = bf16(0x4013u16); constant760 let ln_10 = bf16::from_f32(core::f32::consts::LN_10); in test_bf16_consts_from_f32()781 assert_eq!(bf16::LN_10, ln_10); in test_bf16_consts_from_f32()818 let ln_10 = bf16::from_f64(core::f64::consts::LN_10); in test_bf16_consts_from_f64()839 assert_eq!(bf16::LN_10, ln_10); in test_bf16_consts_from_f64()
156 int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10); in log10()216 private static final double LN_10 = Math.log(10); field in BigIntegerMath