发明授权
- 专利标题: Method and apparatus for performing floating point arithmetic operation and rounding the result thereof
- 专利标题(中): 用于进行浮点算术运算并舍入其结果的方法和装置
-
申请号: US438142申请日: 1995-05-08
-
公开(公告)号: US5633818A公开(公告)日: 1997-05-27
- 发明人: Takashi Taniguchi
- 申请人: Takashi Taniguchi
- 申请人地址: JPX Osaka
- 专利权人: Matsushita Electric Industrial Co., Ltd.
- 当前专利权人: Matsushita Electric Industrial Co., Ltd.
- 当前专利权人地址: JPX Osaka
- 优先权: JPX1-268447 19891016
- 主分类号: G06F7/02
- IPC分类号: G06F7/02 ; G06F7/483 ; G06F7/499 ; G06F7/52 ; G06F7/53 ; G06F7/533 ; G06F7/535 ; G06F7/544 ; G06F7/552 ; G06F17/17 ; G06F7/38 ; G06F7/00
摘要:
An apparatus uses a sticky digit in rounding an interim solution Yr into a final approximate solution Ye for an infinite precise solution Y, determined by a function F according to Y=F(X) with respect to digital data X. The apparatus includes a partial product generator receiving a multiplicand and a multiplier, at least one of which represents an interim solution Yr, for generating a plurality of partial products; a sign inversion generator for generating a sign inversion value, expressed in the same format as the partial products, from at least a lower part of a subtrahend to enable place matching, where the subtrahend represents the digital data X; an adder for adding the partial products and the sign inversion value; a detector which, in response to the addition result, detects whether the subtrahend or a product of the multiplicand and multiplier is greater; and a sticky digit generator for generating the sticky digit in response to the detection result.
公开/授权文献
- US4507731A Bidirectional data byte aligner 公开/授权日:1985-03-26
信息查询