|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Numeric Functions
Requires: Base Development System
Computes the square of the input value.
The connector pane displays the default data types for this polymorphic function.
|x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.|
|x^2 is of the same numeric representation as x. |
If you wire fixed-point values to Numeric functions such as Add, Subtract, Multiply, and Square, the functions usually return values that do not lose any bits of word length. However, if the operation creates a value that exceeds the maximum word length that LabVIEW accepts, overflow or rounding conditions can occur. LabVIEW accepts a maximum word length of 64 bits. Use the Numeric Node Properties dialog box to configure how LabVIEW handles overflow or rounding of fixed-point data.
Refer to the Numeric Functions VI in the labview\examples\Numerics directory for an example of using the Square function.