divideCanDestroy

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

Divide the receiver by the argument aNumber and answer the result.

Implementations may double-dispatch to divideIntoIntegerCanDestroy or divideIntoInfinityCanDestroy (or others), where actual implementations of the division operation should reside.

Return

The result of dividing the operands.

See also

Parameters

aNumber

An integral numeric.

canDestroy

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