Round To Nearest Even: Floating Point Add/Subtract
The document discusses floating point arithmetic operations including addition, subtraction, and multiplication. It provides details on rounding modes for floating point results, including rounding to the nearest even number by default, rounding up toward positive infinity, rounding down toward negative infinity, and truncating toward zero. It also defines clock cycle in terms of clock rate as the inverse of cycles per second.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
48 views
Round To Nearest Even: Floating Point Add/Subtract
The document discusses floating point arithmetic operations including addition, subtraction, and multiplication. It provides details on rounding modes for floating point results, including rounding to the nearest even number by default, rounding up toward positive infinity, rounding down toward negative infinity, and truncating toward zero. It also defines clock cycle in terms of clock rate as the inverse of cycles per second.
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1
Floating Point Add/Subtract
Floating Point Multiply
Round to Nearest Even: default rounding mode
Increment result if: r s = 11 or (r s = 10 and fl = 1) Otherwise, truncate result significand to 1. f1 f2 fl Round toward +: result is rounded up Increment result if sign is positive and r or s = 1 Round toward : result is rounded down Increment result if sign is negative and r or s = 1 Round toward 0: always truncate result