发明名称 Round for Reround Mode in a Decimal Floating Point Instruction
摘要 A round-for-reround mode (preferably in a BID encoded Decimal format) of a floating point instruction prepares a result for later rounding to a variable number of digits by detecting that the least significant digit may be a 0, and if so changing it to 1 when the trailing digits are not all 0. A subsequent reround instruction is then able to round the result to any number of digits at least 2 fewer than the number of digits of the result. An optional embodiment saves a tag indicating the fact that the low order digit of the result is 0 or 5 if the trailing bits are non-zero in a tag field rather than modify the result. Another optional embodiment also saves a half-way-and-above indicator when the trailing digits represent a decimal with a most significant digit having a value of 5. An optional subsequent reround instruction is able to round the result to any number of digits fewer or equal to the number of digits of the result using the saved tags.
申请公布号 US2013226981(A1) 申请公布日期 2013.08.29
申请号 US201313848885 申请日期 2013.03.22
申请人 CORPORATION INTERNATIONAL BUSINESS MACHINES;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 COWLISHAW MICHAEL F.;SCHWARZ ERIC M.;SMITH, SR. RONALD M.;YEH PHIL C.
分类号 G06F17/10 主分类号 G06F17/10
代理机构 代理人
主权项
地址