ByteExtensions.DidSubtractionOverflow Method ​
Definition ​
Determines whether a signed subtraction overflowed by examining the difference and its operands.
c#
public static bool DidSubtractionOverflow(this Byte difference, Byte left, Byte right);Parameters ​
| Name | Type | Description |
|---|---|---|
difference | Byte | The result of the subtraction. |
left | Byte | The left operand. |
right | Byte | The right operand. |
Returns ​
true if the subtraction overflowed; false otherwise.