OVERVIEW OF NUMERIC PROCESSING

Table 1-12. Infinity Operands and Results

Operation

Addition

+00 plus +00

- 00 plus-oo+00 plus-oo

- 00 plus +00

±oo plus ±X ±X plus ±oo

Subtraction

+00 minus - 00 - 00 minus +00 +00 minus +00 - 00 minus - 00

±oo minus ±X ±X minus ±oo

Multiplication ±oo·±oo ±oo· ±y

±O· ±oo, ±oo'±O

Division

±oo -+-±oo ±oo -+-±X ±X -+-±oo

FSQRT

Projective Result

Affine Result

Invalid operation

+00

Invalid operation

- 00

Invalid operation

Invalid operation

Invalid operation

Invalid operation

'00

'00

'00

'00

Invalid operation

+00

Invalid operation

- 00

Invalid operation

Invalid operation

Invalid operation

Invalid operation

'00

'00

too

too

E9

E9

E9

E9

Invalid operation

Invalid operation

Invalid operation

Invalid operation

E9

E9

E9

E9

- 00

 

Invalid operation

Invalid operation

+00

 

Invalid operation

+00

FPREM

 

 

 

±oo rem

±oo

Invalid operation

Invalid operation

±oo rem

±X

Invalid operation

Invalid operation

±Y rem ±oo

'Y

'Y

±O rem ±oo

'0

'0

FRNDINT

 

 

 

±oo

 

'00

'00

FSCp..LE

 

 

 

± 00 scaled by ± 00

Invalid operation

Invalid operation

± 00 scaled by ± X

'00

'00

± 0 scaled by ± 00

'0

'0

± Y scaled by ± 00

Invalid operation

Invalid operation

FXTRACT

 

 

 

±oo

 

Invalid operation

Invalid operation

Compare

 

A=B

- 00 < +00

±oo: ±oo

 

±oo: ±Y

 

A ? B (and) invalid operation

- 00___<Yn <__ +00~,

±oo: ±O

 

A '? 8 (andi invaiiu UI-'tlli:liiu;-I

v . J _ V _ I ....... ,

FTST

 

A ? B (and) invalid operation

 

±oo

 

'00

NOTES:

Xzero or nonzero operand

Ynonzero operand

sign of original operand

1-28

Page 380
Image 380
Intel 80287, 80286 manual Frndint, Fxtract, Ftst