devela::_dep::safe_arch

Function set_m128d

pub fn set_m128d(a: f64, b: f64) -> m128d
Available on crate feature dep_safe_arch 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());