Invention Grant
- Patent Title: Method and apparatus for performing floating point arithmetic operation and rounding the result thereof
- Patent Title (中): 用于进行浮点算术运算并舍入其结果的方法和装置
-
Application No.: US438142Application Date: 1995-05-08
-
Publication No.: US5633818APublication Date: 1997-05-27
- Inventor: Takashi Taniguchi
- Applicant: Takashi Taniguchi
- Applicant Address: JPX Osaka
- Assignee: Matsushita Electric Industrial Co., Ltd.
- Current Assignee: Matsushita Electric Industrial Co., Ltd.
- Current Assignee Address: JPX Osaka
- Priority: JPX1-268447 19891016
- Main IPC: 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
Abstract:
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.
Public/Granted literature
- US4507731A Bidirectional data byte aligner Public/Granted day:1985-03-26
Information query