MultiplicationNode

Two's complement multiplication operation.

Since this only produces the lower half of a full multiplication, it is the same for both signed and unsigned integers. Wraps around on overflow.

Members

Functions

opEquals
bool opEquals(const(MultiplicationNode) other)

Equivalence <=> structural equality (modulo operand order).

opIndex
inout(InEdge)* opIndex(InEdge.ID slot)

See Node.opIndex.

toHash
hash_t toHash()

Semantic hash.

Properties

inEdges
InEdgeIterator!Callable inEdges [@property getter]

Provides an iterator over this node's in-edges.

outEdges
OutEdgeIterator!Callable outEdges [@property getter]

Provides an iterator over this node's out-edges.

Static functions

dispose
void dispose(MultiplicationNode* self)

Frees all resources allocated by this node and sets it to an uninitialized state.

initialize
err_t initialize(MultiplicationNode* self)

Initializes a multiplication node.

Variables

lhs
OutEdge lhs;

Operands.

result
InEdge result;

Resulting product.

rhs
OutEdge rhs;

Operands.

Mixed In Members

From mixin NodeInheritance

opPostMove
void opPostMove(const(This) old)

Post-move adjusts in-edge slots' owner pointer.

See Also