minus

open operator fun Number.minus(other: Int): Number(source)
open operator fun Number.minus(other: UInt): Number(source)
open operator fun Number.minus(other: Long): Number(source)
open operator fun Number.minus(other: ULong): Number(source)

Subtracts this number and the other integer as elements of the Ring.

The result is equal to this - other.value.


open operator fun Int.minus(other: Number): Number(source)
open operator fun UInt.minus(other: Number): Number(source)
open operator fun Long.minus(other: Number): Number(source)
open operator fun ULong.minus(other: Number): Number(source)

Sums this integer and the other number as elements of the Ring.

The result is equal to this.value - other.


abstract operator fun Number.minus(other: Number): Number(source)

Subtracts this and the other numbers in terms of the Ring.