Searched refs:SQRT_2 (Results 1 – 3 of 3) sorted by relevance
332 pub const SQRT_2: f16 = f16::SQRT_2; constant770 pub const SQRT_2: f16 = f16(0x3DA8u16); constant1057 let sqrt_2 = f16::from_f32(core::f32::consts::SQRT_2); in test_f16_consts_from_f32()1076 assert_eq!(f16::SQRT_2, sqrt_2); in test_f16_consts_from_f32()1117 let sqrt_2 = f16::from_f64(core::f64::consts::SQRT_2); in test_f16_consts_from_f64()1136 assert_eq!(f16::SQRT_2, sqrt_2); in test_f16_consts_from_f64()
461 pub const SQRT_2: bf16 = bf16(0x3FB5u16); constant768 let sqrt_2 = bf16::from_f32(core::f32::consts::SQRT_2); in test_bf16_consts_from_f32()787 assert_eq!(bf16::SQRT_2, sqrt_2); in test_bf16_consts_from_f32()826 let sqrt_2 = bf16::from_f64(core::f64::consts::SQRT_2); in test_bf16_consts_from_f64()845 assert_eq!(bf16::SQRT_2, sqrt_2); in test_bf16_consts_from_f64()
2313 SQRT_2,