Compaq ECQD2KCTE manual Convert Ieee SFloating to Ieee TFloating, Cvtst

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 175
Image 175

4.10.14 Convert IEEE S_Floating to IEEE T_Floating

Format:

CVTST

Fb.rx,Fc.wx

! Floating-point Operate format

Operation:

Fc {conversion of Fbv}

Exceptions:

Invalid Operation

Instruction mnemonics:

CVTST

Convert S_floating to T_floating

Qualifiers:

Trapping:

Exception Completion (/S)

Description:

The S_floating operand in register Fb is converted to T_floating format and written to register Fc. Register Fa must be F31.

Notes:

The conversion from S_floating to T_floating is exact. No rounding occurs. No under- flow, overflow, or inexact result can occur. In fact, the conversion for finite values is the identity transformation.

A trap handler can convert an S_floating denormal value into the corresponding T_floating finite value by adding 896 to the exponent and normalizing.

Instruction Descriptions 4–119

Page 175
Image 175
Compaq ECQD2KCTE manual Convert Ieee SFloating to Ieee TFloating, Cvtst