505
Floating-point Math Instructions Section 3-14
Flags
Precautions The source data in S+1 and S must be in IEEE754 floating-point data format.
3-14-17 SQUARE ROOT: SQRT(466)
Purpose Calculates the square root of a 32-bit floating-point number and places the
result in the specified result words.
Ladder Symbol
Variations
Applicable Program Areas
R
S: Input data (tangent)
R: Result (radians)
Name Label Operation
Error Flag ER ON if the source data is not recognized as floating-point
data.
ON if the source data is not a number (NaN).
OFF in all other cases.
Equals Flag = ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
Overflow Flag OF OFF
Underflow Flag UF OFF
Negative Flag N ON if the result is negative.
OFF in all other cases.
SQRT(466)
S
R
S: First source word
R: First result word
Variations Executed Each Cycle for ON Condition SQRT(466)
Executed Once for Upward Differentiation @SQRT(466)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK