Home
last modified time | relevance | path

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

/external/rust/crates/half/src/
Dbfloat.rs853 let neg_nan32 = f32::from_bits(0xFF80_0001u32); in test_nan_conversion_to_smaller() localVariable
859 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() localVariable
884 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()
Dbinary16.rs1144 let neg_nan32 = f32::from_bits(0xFF80_0001u32); in test_nan_conversion_to_smaller() localVariable
1150 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() localVariable
1175 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()