devela::_dep::safe_arch

Function div_m128

pub fn div_m128(a: m128, b: m128) -> m128
Available on crate feature dep_safe_arch only.
Expand description

Lanewise a / b.

let a = m128::from_array([10.0, 12.0, 13.0, 14.0]);
let b = m128::from_array([2.0, 6.0, 13.0, 2.0]);
let c = div_m128(a, b).to_array();
assert_eq!(c, [5.0, 2.0, 1.0, 7.0]);