Compaq ECQD2KCTE Laptop User Manual


 
4–128 Alpha Architecture Handbook
4.10.22 VAX Floating Square Root
Format:
Operation:
Fc Fb ** (1/2)
Exceptions:
Instruction mnemonics:
Qualifiers:
Description:
The square root of the floating-point operand in register Fb is written to register Fc. (The Fa
field of this instruction must be set to a value of F31.)
The result is rounded or chopped to the specified precision. The single-precision operation on a
canonical single-precision value produces a canonical single-precision result.
An invalid operation is signaled if the operand has exp=0 and is not a true zero (that is, VAX
reserved operands and dirty zeros trap). An invalid operation is signaled if the sign of the oper-
and is negative.
The contents of the Fc are UNPREDICTABLE if an invalid operation is signaled.
Notes:
Floating-point overflow and underflow are not possible for square root operation. The
underflow enable qualifier is ignored.
SQRTx Fb.rx,Fc.wx
!Floating-point Operate format
Invalid operation
SQRTF Square root F_floating
SQRTG Square root G_floating
Rounding: Chopped (/C)
Trapping: Exception Completion (/S)
Underflow Enable (/U) — See Notes below