UInt16Extensions.DidAdditionOverflow Method
Definition
Determines whether a signed addition overflowed by examining the sum and its operands.
public static bool DidAdditionOverflow(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 addition overflowed; false otherwise.