[−][src]Function safe_arch::ceil_m256
#[must_use]pub fn ceil_m256(a: m256) -> m256
This is supported with target feature
avx
only.Round f32
lanes towards positive infinity.
let a = m256::from([1.1, 2.5, 3.8, 5.0, -0.5, -1.1, -2.7, -3.0]); let b = ceil_m256(a).to_array(); assert_eq!(b, [2.0, 3.0, 4.0, 5.0, 0.0, -1.0, -2.0, -3.0]);