Searched refs:LOG10_2 (Results 1 – 6 of 6) sorted by relevance
2257 fn LOG10_2() -> Self where Self: Sized + Div<Self, Output = Self> {2274 LOG10_2() -> 0.301029995663981195213738894724493027;2379 assert!((F::LOG10_2() - F::log10(_2)).abs() < diff); in extra_logs()2380 assert!((F::LOG10_2() - F::LN_2() / F::LN_10()).abs() < diff); in extra_logs()
455 pub const LOG10_2: bf16 = bf16(0x3E9Au16); constant784 assert_eq!(bf16::LOG10_2, log10_2); in test_bf16_consts_from_f32()842 assert_eq!(bf16::LOG10_2, log10_2); in test_bf16_consts_from_f64()
764 pub const LOG10_2: f16 = f16(0x34D1u16); constant1073 assert_eq!(f16::LOG10_2, log10_2); in test_f16_consts_from_f32()1133 assert_eq!(f16::LOG10_2, log10_2); 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].
1927 const double LOG10_2 = 0.30102999566398119;1929 return int(std::floor( b * LOG10_2 ));