[][src]Function safe_arch::cast_to_m128d_from_m256d

#[must_use]pub fn cast_to_m128d_from_m256d(a: m256d) -> m128d
This is supported with target feature avx only.

Bit-preserving cast to m128d from m256d.

let a = m256d::from([1.0, 2.0, 3.0, 4.0]);
let b = cast_to_m128d_from_m256d(a).to_array();
assert_eq!(b, [1.0, 2.0]);