Searched refs:neg_nan32 (Results 1 – 2 of 2) sorted by relevance
853 let neg_nan32 = f32::from_bits(0xFF80_0001u32); in test_nan_conversion_to_smaller() localVariable859 let neg_nan16_from_32 = bf16::from_f32(neg_nan32); in test_nan_conversion_to_smaller()864 assert!(neg_nan32.is_nan() && neg_nan32.is_sign_negative()); in test_nan_conversion_to_smaller()878 let neg_nan32 = f32::from_bits(0xFF80_0001u32); in test_nan_conversion_to_larger() localVariable884 let neg_nan64_from_32 = f64::from(neg_nan32); in test_nan_conversion_to_larger()889 assert!(neg_nan32.is_nan() && neg_nan32.is_sign_negative()); in test_nan_conversion_to_larger()
1144 let neg_nan32 = f32::from_bits(0xFF80_0001u32); in test_nan_conversion_to_smaller() localVariable1150 let neg_nan16_from_32 = f16::from_f32(neg_nan32); in test_nan_conversion_to_smaller()1155 assert!(neg_nan32.is_nan() && neg_nan32.is_sign_negative()); in test_nan_conversion_to_smaller()1169 let neg_nan32 = f32::from_bits(0xFF80_0001u32); in test_nan_conversion_to_larger() localVariable1175 let neg_nan64_from_32 = f64::from(neg_nan32); in test_nan_conversion_to_larger()1180 assert!(neg_nan32.is_nan() && neg_nan32.is_sign_negative()); in test_nan_conversion_to_larger()