Quotient and Remainder

Computes the integer quotient and the remainder of the inputs.

1378

Inputs/Outputs

datatype_icon

x

The dividend.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

datatype_icon

y

The divisor.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

datatype_icon

remainder

The remainder.

When y is 1, the remainder is the fractional part of x.
datatype_icon

quotient

The integer quotient.

This node rounds quotient to the nearest integer towards -inf.