Home
last modified time | relevance | path

Searched refs:LN_10 (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/num-traits/src/
Dfloat.rs2258 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()
/external/rust/crates/half/src/
Dbinary16.rs308 pub const LN_10: f16 = f16::LN_10; constant
758 pub const LN_10: f16 = f16(0x409Bu16); constant
1049 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()
Dbfloat.rs449 pub const LN_10: bf16 = bf16(0x4013u16); constant
760 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()
/external/guava/android/guava/src/com/google/common/math/
DBigIntegerMath.java156 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
/external/guava/guava/src/com/google/common/math/
DBigIntegerMath.java156 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