[−][src]Function safe_arch::ceil_m128_s
#[must_use]pub fn ceil_m128_s(a: m128, b: m128) -> m128
This is supported with target feature
sse4.1
only.Round the low lane of b
toward positive infinity, other lanes a
.
let a = m128::from_array([-0.1, 1.8, 5.0, 6.0]); let b = m128::from_array([2.5, 3.0, 10.0, 20.0]); assert_eq!(ceil_m128_s(a, b).to_array(), [3.0, 1.8, 5.0, 6.0]);