Function spirv_std::arch::u_mod_vector[][src]

pub fn u_mod_vector<I, V, const LEN: usize>(x: V, y: V) -> V where
    I: UnsignedInteger,
    V: Vector<I, LEN>, 

Unsigned modulo operation of x modulo y. Results are computed per component.

Safety

The resulting value is undefined if y is 0.