Compaq ECQD2KCTE manual Division by Zero, Overflow, Underflow, Inexact

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 302
Image 302

Table B–3shows the IEEE standard charts. In the charts, the second column is the result when the user signal handler is disabled; the third column is the result when that handler is enabled. The OS completion handler supplies the IEEE default that is specified in the second column. The contents of the Alpha registers contain sufficient information for an enabled user handler to compute the value in the third column.

Table B–3: IEEE Standard Charts

Exception

User Signal Handler

User Signal Handler

Disabled (IEEE Default)

Enabled (Optional)

 

 

 

 

 

Invalid Operation

 

 

 

 

 

 

(1)

Input signaling NaN

Quiet NaN

 

(2)

Mag. subtract Inf.

Quiet NaN

 

(3)

0 * Inf.

Quiet NaN

 

(4)

0/0 or Inf/Inf

Quiet NaN

 

(5) x REM 0 or Inf REM y

Quiet NaN

 

(6)

SQRT(negative non-zero)

Quiet NaN

 

(7)

Cvt to int(ovfl)

Low-order bits

 

(8)

Cvt to int(Inf, NaN)

0

 

(9)

Compare unordered

Quiet NaN

 

 

 

 

Division by Zero

 

 

 

 

 

x/0, x finite <>0

+/–Inf

 

 

 

 

Overflow

 

 

 

 

 

Round nearest

+/–Inf.

Res /2**192 or 1536

Round to zero

+/–MAX

Res/2**192 or 1536

Round to –Inf

+MAX/–Inf

Res/2**192 or 1536

Round to +Inf

+Inf/–MAX

Res/2**192 or 1536

 

 

 

Underflow

 

 

 

 

 

Underflow

0/denorm

Res*2**192 or 1536

 

 

 

Inexact

 

 

 

 

 

Inexact

Rounded

Res

 

 

 

 

B–12Alpha Architecture Handbook

Page 302
Image 302
Compaq ECQD2KCTE manual Division by Zero, Overflow, Underflow, Inexact