o_TimesCanDestroy

abstract override fun o_TimesCanDestroy(self: AvailObject, aNumber: A_Number, canDestroy: Boolean): A_Number

Multiply the operands and answer the result.

Implementations may double-dispatch to multiplyByIntegerCanDestroy or multiplyByInfinityCanDestroy, where actual implementations of the multiplication operation should reside. Other implementations may exist for other type families (e.g., floating point).

Return

The result of multiplying the operands.

Parameters

self

A numeric value.

aNumber

Another numeric value.

canDestroy

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

See also