Home
last modified time | relevance | path

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

/external/rust/crates/num-traits/src/
Dfloat.rs2257 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()
/external/rust/crates/half/src/
Dbfloat.rs455 pub const LOG10_2: bf16 = bf16(0x3E9Au16); constant
784 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()
Dbinary16.rs764 pub const LOG10_2: f16 = f16(0x34D1u16); constant
1073 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()
/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.h1927 const double LOG10_2 = 0.30102999566398119;
1929 return int(std::floor( b * LOG10_2 ));