[−][src]Function safe_arch::div_m256
#[must_use]pub fn div_m256(a: m256, b: m256) -> m256
This is supported with target feature
avx
only.Lanewise a / b
with f32
.
let a = m256::from_array([4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0]); let b = m256::from_array([2.0, 2.0, 3.0, 7.0, 2.0, 3.0, 4.0, 11.0]); let c = div_m256(a, b).to_array(); assert_eq!(c, [2.0, 2.5, 2.0, 1.0, 4.0, 3.0, 2.5, 1.0]);