Home
last modified time | relevance | path

Searched refs:LOG2_E (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/half/src/
Dbinary16.rs326 pub const LOG2_E: f16 = f16::LOG2_E; constant
766 pub const LOG2_E: f16 = f16(0x3DC5u16); constant
1054 let log2_e = f16::from_f32(core::f32::consts::LOG2_E); in test_f16_consts_from_f32()
1074 assert_eq!(f16::LOG2_E, log2_e); in test_f16_consts_from_f32()
1114 let log2_e = f16::from_f64(core::f64::consts::LOG2_E); in test_f16_consts_from_f64()
1134 assert_eq!(f16::LOG2_E, log2_e); in test_f16_consts_from_f64()
Dbfloat.rs457 pub const LOG2_E: bf16 = bf16(0x3FB9u16); constant
765 let log2_e = bf16::from_f32(core::f32::consts::LOG2_E); in test_bf16_consts_from_f32()
785 assert_eq!(bf16::LOG2_E, log2_e); in test_bf16_consts_from_f32()
823 let log2_e = bf16::from_f64(core::f64::consts::LOG2_E); in test_bf16_consts_from_f64()
843 assert_eq!(bf16::LOG2_E, log2_e); in test_bf16_consts_from_f64()
/external/rust/crates/num-traits/src/
Dfloat.rs2309 LOG2_E,