Home
last modified time | relevance | path

Searched refs:LOG2_10 (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/num-traits/src/
Dfloat.rs2262 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()
/external/rust/crates/half/src/
Dbfloat.rs459 pub const LOG2_10: bf16 = bf16(0x4055u16); constant
786 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()
Dbinary16.rs768 pub const LOG2_10: f16 = f16(0x42A5u16); constant
1075 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()
/external/rust/crates/half/
DCHANGELOG.md28 - Added `LOG2_10` and `LOG10_2` constants to both `f16` and `bf16`, which were added to `f32` and
/external/rust/crates/num-traits/
DRELEASES.md36 - [Added new constants for logarithms, `FloatConst::{LOG10_2, LOG2_10}`][171].
/external/eigen/unsupported/test/mpreal/
Dmpreal.h1920 const double LOG2_10 = 3.3219280948873624;
1922 return mp_prec_t(std::ceil( d * LOG2_10 ));