Home
last modified time | relevance | path

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

/external/rust/crates/half/src/
Dbfloat.rs994 let min_sub_f = (-133f32).exp2(); in round_to_even_f32() localVariable
995 assert_eq!(bf16::from_f32(min_sub_f).to_bits(), min_sub.to_bits()); in round_to_even_f32()
996 assert_eq!(f32::from(min_sub).to_bits(), min_sub_f.to_bits()); in round_to_even_f32()
1002 bf16::from_f32(min_sub_f * 0.49).to_bits(), in round_to_even_f32()
1006 bf16::from_f32(min_sub_f * 0.50).to_bits(), in round_to_even_f32()
1010 bf16::from_f32(min_sub_f * 0.51).to_bits(), in round_to_even_f32()
1018 bf16::from_f32(min_sub_f * 1.49).to_bits(), in round_to_even_f32()
1022 bf16::from_f32(min_sub_f * 1.50).to_bits(), in round_to_even_f32()
1026 bf16::from_f32(min_sub_f * 1.51).to_bits(), in round_to_even_f32()
1034 bf16::from_f32(min_sub_f * 2.49).to_bits(), in round_to_even_f32()
[all …]
Dbinary16.rs1289 let min_sub_f = (-24f32).exp2(); in round_to_even_f32() localVariable
1290 assert_eq!(f16::from_f32(min_sub_f).to_bits(), min_sub.to_bits()); in round_to_even_f32()
1291 assert_eq!(f32::from(min_sub).to_bits(), min_sub_f.to_bits()); in round_to_even_f32()
1297 f16::from_f32(min_sub_f * 0.49).to_bits(), in round_to_even_f32()
1301 f16::from_f32(min_sub_f * 0.50).to_bits(), in round_to_even_f32()
1305 f16::from_f32(min_sub_f * 0.51).to_bits(), in round_to_even_f32()
1313 f16::from_f32(min_sub_f * 1.49).to_bits(), in round_to_even_f32()
1317 f16::from_f32(min_sub_f * 1.50).to_bits(), in round_to_even_f32()
1321 f16::from_f32(min_sub_f * 1.51).to_bits(), in round_to_even_f32()
1329 f16::from_f32(min_sub_f * 2.49).to_bits(), in round_to_even_f32()
[all …]