divide Into Double Can Destroy
fun A_Number.divideIntoDoubleCanDestroy(doubleObject: A_Number, canDestroy: Boolean): A_Number
Content copied to clipboard
Divide the double argument by the receiver, destroying one or the other if it's mutable and canDestroy is true. Because of the requirement that the argument be a double rather than an arbitrary A_Number, this is usually only used for double-dispatching.
Return
The quotient, possibly recycling one of the inputs if canDestroy is true.
Parameters
double Object
The double to divide by the receiver.
can Destroy
Whether a mutable receiver or argument may be destroyed and/or recycled to hold the quotient.