Trait simdop::PackS [−] [src]

pub trait PackS<M: Multi + Narrow> {
    fn packs(&self, a: M, b: M) -> M;
}

The PackS trait is used to specify signed element narrowing functionality.

Required Methods

fn packs(&self, a: M, b: M) -> M

Narrows elements from a and b using signed saturation.

Implementors