Function safe_arch::set_splat_m128d

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

Splats the args into both lanes of the m128d.

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