Home
last modified time | relevance | path

Searched refs:neg_nan16 (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/half/src/
Dbfloat.rs876 let neg_nan16 = bf16::from_bits(0xFF81u16); in test_nan_conversion_to_larger() localVariable
880 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()
Dbinary16.rs1167 let neg_nan16 = f16::from_bits(0xFC01u16); in test_nan_conversion_to_larger() localVariable
1171 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()