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 Vector8us SubtractWithSaturation (this Vector8us va, Vector8us 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 be negative, then the result is zero.

[Edit]

Requirements

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