Mono Class Library: Mono.Simd.VectorOperations Overview | Members

Mono.Simd.VectorOperations.SubtractWithSaturation Method

Subtract two vectors with saturation. [Edit]

[Mono.Simd.Acceleration(Mono.Simd.AccelMode.SSE2)]
public static Vector8s SubtractWithSaturation (this Vector8s va, Vector8s vb)

Parameters

va
First Vector. [Edit]
vb
Second Vector. [Edit]

Returns

The unsigned saturated subtraction of two vectors. [Edit]

Remarks

The resulting vector contains the unsigned saturated subtraction of the individual components of the vector.

If the subtraction of two of the components would undeflow, then the result is Short.MinValue.

[Edit]

Requirements

Namespace: Mono.Simd
Assembly: Mono.Simd (in Mono.Simd.dll)
Assembly Versions: 2.0.0.0