|Introduced:||2.0 Beta 22|
Computes the two's-complement negation of the input. This negation is performed by maintaining all the lower-order bits up to the lowest-order 1, and complementing all bits above that.
If the value to be negated happens to be the least negative value, then its negation (which cannot be represented in two's-complement form), is still the least negative value.
- West edge:
- The input value to negate. Bit width matches the Data Data Bits attribute. .
- East edge: labeled -x
- Output: The negation of the input. If the input happens to be the least negative value representable in dataBits bits, however, then the output matches the input. Bit width matches the Data Data BitsData Bits attribute..
When the component is selected or being added, Alt-0 throught Alt-9 alter its Data Bits attribute.
- Data Bits
- The bit width of the component's input and output.
Poke Tool Behavior
Text Tool Behavior
Back to Library Reference