Negate
- Updated2023-02-17
- 2 minute(s) read
Negate
Makes the input value negative.

Inputs/Outputs

x
An input to this operation.
This input supports waveforms and any data type that contains only numbers, such as scalar numbers, arrays or clusters of numbers, arrays of clusters of numbers, and waveforms. x cannot be an unsigned integer because unsigned integers represent only non-negative integers.
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.

-x
The negative value of the input value.
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.