Operator
op_Subtraction
static abstract virtual func -(left: Self, right: Self) -> Self
Declaring type: Number
Module: System
Assembly: System.Runtime.dll
Source file: Number.rvn
Defined by Number.op_Subtraction · Required implementation (no default).
Interface implementation: Required implementation (no default).
Development: Subtracts right from left.
Parameters
| Name | Type | Description |
|---|---|---|
left |
Self | The left operand. |
right |
Self | The right operand. |
Return value
A value of the same numeric type.
Remarks
Integer addition/subtraction/multiplication wrap; integer division truncates toward zero and invalid division raises terminal Fault. Floating operations retain IEEE behavior. This is not checked Result-returning arithmetic.