Function safe_arch::set_splat_m128
source · pub fn set_splat_m128(all: f32) -> m128
Expand description
Splats the value to all lanes.
let a = set_splat_m128(1.0).to_array();
let b = m128::from_array([1.0, 1.0, 1.0, 1.0]).to_array();
assert_eq!(a, b);