Divide
- Updated2023-02-17
- 3 minute(s) read
Divide
Computes the quotient of the inputs.
Inputs/Outputs

x
The dividend.
This input supports scalar numbers, arrays, or clusters of numbers, arrays of clusters of numbers, and waveforms.
A waveform can only be divided by either another waveform or a scalar numeric value.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

y
The divisor.
This input supports scalar numbers, arrays or clusters of numbers, arrays of clusters of numbers, and waveforms.
A waveform can only be divided by either another waveform or a scalar numeric value.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
This input appears only when you wire a waveform to input.

x / y
The quotient.
In general, the output type is the widest representation of the inputs if the inputs are not integers or if their representations differ.
Behavior with Integers
If both x and y are integers, x / y is a double-precision, floating-point number.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.

error out
The node produces this output according to standard error behavior.
This output appears only when you wire a waveform to input.