UInt16Extensions.DidSubtractionOverflow Method
Definition
Determines whether a signed subtraction overflowed by examining the difference and its operands.
public static bool DidSubtractionOverflow(this ushort value, ushort left, ushort right);
Parameters
| Name | Type | Description |
|---|---|---|
| value | UInt16 | |
| left | UInt16 | The left operand. |
| right | UInt16 | The right operand. |
Returns
true if the subtraction overflowed; false otherwise.