Function spirv_std::arch::s_div_vector [−][src]
pub unsafe fn s_div_vector<I, V, const LEN: usize>(x: V, y: V) -> V where
I: SignedInteger,
V: Vector<I, LEN>,
Signed-integer division of x
from y
. Results are computed
per component.
Safety
The resulting value is undefined if any component of y
is 0
, or if a
component of y
is -1
and the dividing component of x
is
minimum representable value for its type, causing signed overflow.