Floating Point Negator
| Library: | Floating Point Arithmetic |
Behavior
This component changes the sign of the floating-point value on its west input and places the negated value on the east output. The ERR output is 1 when the result is NaN and 0 otherwise.
An input containing unknown or error bits is converted to NaN, so it produces a NaN result and sets ERR to 1.
Pins
- West edge (input, bit width matches Float size)
- The floating-point value to negate.
- East edge (output, bit width matches Float size)
- The negated floating-point value.
- South edge (output, bit width 1)
- ERR: 1 if the result is NaN; otherwise 0.
Attributes
- Float size
- The floating-point width of the input and result: 8, 16, 32, or 64 bits.
Poke Tool Behavior
None.
Text Tool Behavior
None.