Searched refs:frac_1_sqrt_2 (Results 1 – 2 of 2) sorted by relevance
752 let frac_1_sqrt_2 = bf16::from_f32(core::f32::consts::FRAC_1_SQRT_2); in test_bf16_consts_from_f32() localVariable773 assert_eq!(bf16::FRAC_1_SQRT_2, frac_1_sqrt_2); in test_bf16_consts_from_f32()810 let frac_1_sqrt_2 = bf16::from_f64(core::f64::consts::FRAC_1_SQRT_2); in test_bf16_consts_from_f64() localVariable831 assert_eq!(bf16::FRAC_1_SQRT_2, frac_1_sqrt_2); in test_bf16_consts_from_f64()
1041 let frac_1_sqrt_2 = f16::from_f32(core::f32::consts::FRAC_1_SQRT_2); in test_f16_consts_from_f32() localVariable1062 assert_eq!(f16::FRAC_1_SQRT_2, frac_1_sqrt_2); in test_f16_consts_from_f32()1101 let frac_1_sqrt_2 = f16::from_f64(core::f64::consts::FRAC_1_SQRT_2); in test_f16_consts_from_f64() localVariable1122 assert_eq!(f16::FRAC_1_SQRT_2, frac_1_sqrt_2); in test_f16_consts_from_f64()