Function safe_arch::set_m128d

source ·
pub fn set_m128d(a: f64, b: f64) -> m128d
Available with target feature sse2 only.
Expand description

Sets the args into an m128d, first arg is the high lane.

let a = m128d::from_array([1.0, 0.0]);
let b = set_m128d(0.0, 1.0);
assert_eq!(a.to_array(), b.to_array());