√ Floating Point Square Root
| Library: | Floating Point Arithmetic |
Behavior
This component calculates the square root of the floating-point value on its west input and places the result on the east output. The result is rounded to the selected floating-point size.
The ERR output is 1 when the result is NaN and 0 otherwise. A negative finite input produces NaN and sets ERR to 1. An input containing unknown or error bits is also converted to NaN.
Pins
- West edge (input, bit width matches Float size)
- The floating-point value whose square root is calculated.
- East edge (output, bit width matches Float size)
- The floating-point square root.
- 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.