发明授权
US5258943A Apparatus and method for rounding operands 失效
用于舍入操作数的装置和方法

Apparatus and method for rounding operands
摘要:
A microprocessor which includes means for rounding a 68 bit binary number. The rounding bit is calculated based on the precision, rounding mode, and the Guard, Round, and Sticky bits. One path assumes that the number will not be rounded up and pads zeros to the fraction bits according to the precision. Another path assumes that the number will be rounded up. Ones instead of zeros are padded, again, according to the precision. Then, the padded number is incremented by one. Based on the rounding bit, either the non-rounded up path or the rounded up path will be chosen. Thereby, a correctly rounded number with the trailing bits following the least significant bit of the selected precision being zeros results.
信息查询
0/0