minusCanDestroy

fun A_Number.minusCanDestroy(aNumber: A_Number, canDestroy: Boolean): A_Number

Subtract the argument aNumber from a receiver and answer the result.

Implementations may double-dispatch to subtractFromIntegerCanDestroy or subtractFromInfinityCanDestroy, where actual implementations of the subtraction operation should reside.

Return

The result of differencing the operands.

Parameters

aNumber

An integral numeric.

canDestroy

true if the operation may modify either operand, false otherwise.

See also