Abstraction of numeric types with addition,
x + y, subtraction, x - y, multiplication,
x * y, and division, x / y, along with
additive inverse -x.
In general, a numeric type need not define a total order. For example, complex numbers do not have a total order. Numeric types with a total order also satisfy Scalar.
| Inherited Attributes |
| Attributes inherited from: Object |
| Attributes inherited from: Invertable<Inverse> |
| Methods | |
| divided | Source Code shared formal Other divided(Other other) The quotient obtained by dividing this number by the given number. For integral numeric types, this operation results in a remainder. See also: Integral |
| minus | Source Code shared formal Other minus(Other other) The difference between this number and the given number. |
| times | Source Code shared formal Other times(Other other) The product of this number and the given number. |
| Inherited Methods |
| Methods inherited from: Object |
| Methods inherited from: Summable<Other> |