Function safe_arch::bitand_m128

source ·
pub fn bitand_m128(a: m128, b: m128) -> m128
Available with target feature sse only.
Expand description

Bitwise a & b.

let a = m128::from_array([1.0, 0.0, 1.0, 0.0]);
let b = m128::from_array([1.0, 1.0, 0.0, 0.0]);
let c = bitand_m128(a, b).to_array();
assert_eq!(c, [1.0, 0.0, 0.0, 0.0]);