[−][src]Function safe_arch::bitandnot_m256
#[must_use]pub fn bitandnot_m256(a: m256, b: m256) -> m256
This is supported with target feature
avx
only.Bitwise (!a) & b
.
let a = m256::from_array([1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0]); let b = m256::from_array([1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0]); let c = bitandnot_m256(a, b).to_array(); assert_eq!(c, [0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0]);