- 专利标题: Decimal and binary floating point arithmetic calculations
-
申请号: US14873469申请日: 2015-10-02
-
公开(公告)号: US10416962B2公开(公告)日: 2019-09-17
- 发明人: Steven R. Carlough , Juergen Haess , Michael Klein , Klaus M. Kroener , Petra Leber , Silvia M. Mueller , Kerstin Schelm
- 申请人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 代理机构: Heslin Rothenberg Farley & Mesiti P.C.
- 代理商 William A. Kinnaman, Esq.; Kevin P. Radigan, Esq.
- 优先权: GB1417582.2 20141006
- 主分类号: G06F7/485
- IPC分类号: G06F7/485 ; G06F5/01
摘要:
Logic is provided for performing decimal and binary floating point arithmetic calculations on first and second operands. The method includes: receiving the first and second operands in packed format; unpacking the first and second operands; swapping the first operand to a fourth operand and the second operand to a third operand, if an exponent of the first operand is less than an exponent of the second operand, otherwise storing the first operand to the third operand and the second operand to the fourth operand; aligning the third operand and the fourth operands based on the exponent difference of the third and fourth operand and a number of leading zeroes of the third operand; performing an add/subtract operation on the aligned third and fourth operands with normalizing and rounding between the operands; and packing the result obtained from the add/subtract.