Floating-Point IP Cores User Guide

Download
ID 683750
Date 9/13/2021
Public
Document Table of Contents

3.3. ALTFP_ADD_SUB Truth Table

Table 13.  Truth Table for Addition/Subtraction Operations
DATAA[] DATAB[] SIGN BIT RESULT[] Overflow Underflow Zero NaN
Normal Normal 0 Zero 0 0 1 0
Normal Normal 0/1 Normal 0 0 0 0
Normal Normal 0/1 Denormal 0 1 1 0
Normal Normal 0/1 Infinity 1 0 0 0
Normal Denormal 0/1 Normal 0 0 0 0
Normal Zero 0/1 Normal 0 0 0 0
Normal Infinity 0/1 Infinity 1 0 0 0
Normal NaN X NaN 0 0 0 1
Denormal Normal 0/1 Normal 0 0 0 0
Denormal Denormal 0/1 Normal 0 0 0 0
Denormal Zero 0/1 Zero 0 0 1 0
Denormal Infinity 0/1 Infinity 1 0 0 0
Denormal NaN X NaN 0 0 0 1
Zero Normal 0/1 Normal 0 0 0 0
Zero Denormal 0/1 Zero 0 0 1 0
Zero Zero 0/1 Zero 0 0 1 0
Zero Infinity 0/1 Infinity 1 0 0 0
Zero NaN X NaN 0 0 0 1
Infinity Normal 0/1 Infinity 1 0 0 0
Infinity Denormal 0/1 Infinity 1 0 0 0
Infinity Zero 0/1 Infinity 1 0 0 0
Infinity Infinity 0/1 Infinity 1 0 0 0
Infinity NaN X NaN 0 0 0 1
NaN Normal X NaN 0 0 0 1
NaN Denormal X NaN 0 0 0 1
NaN Zero X NaN 0 0 0 1
NaN Infinity X NaN 0 0 0 1
NaN NaN X NaN 0 0 0 1

Did you find the information on this page useful?

Characters remaining:

Feedback Message