4.10.23 IEEE Floating Square Root

Format:

SQRTxFb.rx,Fc.wx!Floating-point Operate format

Operation:

Fc Fb ** (1/2)

Exceptions:

Inexact result

Invalid operation

Instruction mnemonics:

SQRTS

Square root S_floating

SQRTT

Square root T_floating

Qualifiers:

Rounding:

Chopped (/C)

 

Dynamic (/D)

 

Minus infinity (/M)

Trapping:

Inexact Enable (/I)

 

Exception Completion (/S)

 

Underflow Enable (/U) — See Notes below

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 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 sign of the operand is less than zero. However, SQRT (–0) produces a result of –0.

Notes:

Floating-point overflow and underflow are not possible for square root operation. The underflow enable qualifier is ignored.

Instruction Descriptions 4–129

Page 185
Image 185
Compaq ECQD2KCTE manual Ieee Floating Square Root, Sqrts