Searched refs:LOG2_10 (Results 1 – 6 of 6) sorted by relevance
2262 fn LOG2_10() -> Self where Self: Sized + Div<Self, Output = Self> {2275 LOG2_10() -> 3.32192809488736234787031942948939018;2383 assert!((F::LOG2_10() - F::log2(_10)).abs() < diff); in extra_logs()2384 assert!((F::LOG2_10() - F::LN_10() / F::LN_2()).abs() < diff); in extra_logs()
459 pub const LOG2_10: bf16 = bf16(0x4055u16); constant786 assert_eq!(bf16::LOG2_10, log2_10); in test_bf16_consts_from_f32()844 assert_eq!(bf16::LOG2_10, log2_10); in test_bf16_consts_from_f64()
768 pub const LOG2_10: f16 = f16(0x42A5u16); constant1075 assert_eq!(f16::LOG2_10, log2_10); in test_f16_consts_from_f32()1135 assert_eq!(f16::LOG2_10, log2_10); in test_f16_consts_from_f64()
28 - Added `LOG2_10` and `LOG10_2` constants to both `f16` and `bf16`, which were added to `f32` and
36 - [Added new constants for logarithms, `FloatConst::{LOG10_2, LOG2_10}`][171].
1920 const double LOG2_10 = 3.3219280948873624;1922 return mp_prec_t(std::ceil( d * LOG2_10 ));