[−][src]Function safe_arch::sub_m128
#[must_use]pub fn sub_m128(a: m128, b: m128) -> m128
This is supported with target feature
sse
only.Lanewise a - b
.
let a = m128::from_array([1.0, 2.0, 3.0, 4.0]); let b = m128::from_array([5.0, 8.0, 12.0, 3.0]); let c = sub_m128(a, b).to_array(); assert_eq!(c, [-4.0, -6.0, -9.0, 1.0]);