Searched refs:neg_nan16 (Results 1 – 2 of 2) sorted by relevance
876 let neg_nan16 = bf16::from_bits(0xFF81u16); in test_nan_conversion_to_larger() localVariable880 let neg_nan32_from_16 = f32::from(neg_nan16); in test_nan_conversion_to_larger()882 let neg_nan64_from_16 = f64::from(neg_nan16); in test_nan_conversion_to_larger()887 assert!(neg_nan16.is_nan() && neg_nan16.is_sign_negative()); in test_nan_conversion_to_larger()
1167 let neg_nan16 = f16::from_bits(0xFC01u16); in test_nan_conversion_to_larger() localVariable1171 let neg_nan32_from_16 = f32::from(neg_nan16); in test_nan_conversion_to_larger()1173 let neg_nan64_from_16 = f64::from(neg_nan16); in test_nan_conversion_to_larger()1178 assert!(neg_nan16.is_nan() && neg_nan16.is_sign_negative()); in test_nan_conversion_to_larger()