SIMD module

saturating_sub

procedureextensionsince 0.31.0Source

a - b per lane, clamped to T's range instead of wrapping.

saturating_sub :: (a: Vector($T, $N), b: Vector(T, N)) -> Vector(T, N)

Parameters

a: Vector($T, $N)
b: Vector(T, N)

Returns

Vector(T, N)

See also