JPH0789315B2 - Rational arithmetic unit - Google Patents
Rational arithmetic unitInfo
- Publication number
- JPH0789315B2 JPH0789315B2 JP61209016A JP20901686A JPH0789315B2 JP H0789315 B2 JPH0789315 B2 JP H0789315B2 JP 61209016 A JP61209016 A JP 61209016A JP 20901686 A JP20901686 A JP 20901686A JP H0789315 B2 JPH0789315 B2 JP H0789315B2
- Authority
- JP
- Japan
- Prior art keywords
- register
- denominator
- numerator
- new
- divisor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置に係り、特に高速に約分を行う
のに好適な有理数演算装置に関する。The present invention relates to a data processing device, and more particularly to a rational number arithmetic device suitable for performing reduction at high speed.
科学技術での電子計算機の利用分野には数値計算だけで
なくいろいろあり、数式処理もその中の一つである。数
式処理では、例えば多項式の係数などを有理数(分子、
分母の整数対)で表わす場合が多い。There are various fields in the use of electronic computers in science and technology as well as numerical calculations, and mathematical processing is one of them. In mathematical processing, for example, the coefficient of a polynomial is calculated using a rational number (numerator,
Denominator integer pair) is often expressed.
ところで、ハードウェアに直接適用するための有理数形
式に関する提案は現在机上研究の段階の域を出ず、実際
に電子計算機の利用では整数(固定小数点形式の数値)
の四則演算を組合せてソフトウェアにより処理されてき
た。この理由として、計算機を構成する上で従来ハード
ウェアの実装技術上の制約が厳しく、固定小数点形式お
よび浮動小数点形式の数値の四則演算機能に加えて、有
理数形式の数値の四則演算機能までハードウェアで実現
する余裕がなく、速度を犠牲にすればソフトウェアによ
り代替機能が実施できたことが考えられる。By the way, proposals for rational number formats for direct application to hardware are currently at the stage of desk research, and in the actual use of electronic computers, integers (numbers in fixed-point format) are actually used.
It has been processed by software by combining the four arithmetic operations. The reason for this is that there are severe restrictions on the conventional hardware implementation technology for configuring a computer, and in addition to the arithmetic functions for numerical values in fixed-point format and floating-point format, the hardware for arithmetic functions for numerical values in rational number format is also used. It is conceivable that the alternative function could be implemented by software at the expense of speed, because there was no room to implement it.
なお、有理数を電子計算機で取り扱う場合の表現形式に
関しては、例えば「コンピュータの高速演算方式」(昭
和55年9月1日 近代科学社発行)の第5頁に記載され
ている。The representation format for handling rational numbers with an electronic computer is described, for example, on page 5 of "Computer High-Speed Computing Method" (published by Modern Science Co., Ltd., September 1, 1980).
有理数を使用した電子計算機での数式処理の利用が進む
につれて、有理数演算の高速処理が望まれるようになっ
てきた。有理数の四則演算は第1オペランドがa/b、第
2オペランドがc/d(たゞし、a,b,c,dは整数)であると
き、 加算結果:(ad+bc)/bd 減算結果:(ad−bc)/bd 乗算結果:(ac)/(bd) 除算結果:(ad)/(bc) である。上記演算結果から容易に分かるように、有理数
の四則演算では結果を約分しないといくらでも桁数が大
きくなるという問題があり、ハードウェアの実装技術が
進んでも有理数形式の数値を直接ハードウェアで処理す
る上での最後の難題となっていた。As the use of mathematical expression processing in electronic computers using rational numbers has advanced, high-speed processing of rational number operations has been desired. In the arithmetic operation of rational numbers, when the first operand is a / b and the second operand is c / d (there are a, b, c, d are integers), the addition result: (ad + bc) / bd subtraction result: (Ad-bc) / bd Multiplication result: (ac) / (bd) Division result: (ad) / (bc). As can be easily seen from the above calculation results, there is a problem that the number of digits increases as much as possible if the result is not reduced in the arithmetic operation of rational numbers, and even if the hardware implementation technology progresses, the numerical value in rational form is directly processed by hardware. It was the last challenge to do.
本発明の目的は、与えられた有理数の分子と分母を約分
して既約な分子、分母を求め、またはある桁数以内の既
約な近似的分子、分母を求める高速な有理数演算装置を
提供することにある。An object of the present invention is to reduce a given rational number numerator and denominator to obtain an irreducible numerator and denominator, or to obtain a irreducible approximate numerator and denominator within a certain number of digits by a high-speed rational number arithmetic device. To provide.
本願発明の有理数演算装置は、被除数、除数、旧分子、
新分子、旧分母、新分母の値を各々保持する複数のレジ
スタと、被除数と除数により除算を行い商を求める演算
を反復計算する除算手段と、除数と上記除算手段により
求めた商とにより乗算を行い、該乗算の積と被除数によ
り加算を行い、剰余を求める演算を反復計算する演算手
段と、除数を次の反復計算での被除数として選択して該
当レジスタに設定し、上記求めた剰余を次の反復計算で
の除数として選択して該当レジスタに設定する第1選択
手段と、新分子と上記除算手段により求めた商とにより
乗算を行い、該乗算による積と旧分子により加算を行
い、分子を求める演算を反復計算する演算手段と、新分
子を次の反復計算での旧分子として選択して該当レジス
タに設定し、上記求めた分子を次の反復計算での新分子
として選択して該当レジスタに設定する第2選択手段
と、新分母と上記除算手段により求めた商とにより乗算
を行い、該乗算による積と旧分母により加算を行い、分
母を求める演算を反復計算する演算手段と、新分母を次
の反復計算での旧分母として選択して該当レジスタに設
定し、上記求めた分母を次の反復計算での新分母として
選択して該当レジスタに設定する第3選択手段と、上記
求めた剰余が零となること、新分子があらかじめ定めた
桁数を越えたこと、または新分母があらかじめ定めた桁
数を越えたことの条件のそれぞれを検出する検出手段
と、該検出手段による情報をもとに、上記除算手段、演
算手段の動作を反復するかまたは反復を終了して、約分
された分子、分母を出力するよう制御する制御手段とか
ら構成される。The rational number arithmetic unit of the present invention includes a dividend, a divisor, an old numerator,
Multiple registers that hold the values of the new numerator, old denominator, and new denominator respectively, division means that repeatedly calculates the quotient by dividing by the dividend and divisor, and multiplication by the quotient obtained by the divisor and the above division means Then, the product of the multiplication and the dividend are added, and the calculation means for iteratively calculating the remainder is selected, and the divisor is selected as the dividend in the next iterative calculation and set in the corresponding register, and the above-obtained remainder is calculated. First multiplication means for selecting the divisor in the next iterative calculation and setting it in the corresponding register, multiplication by the new numerator and the quotient obtained by the division means, and addition by the multiplication product and old numerator, Select the new molecule as the old molecule in the next iteration calculation and set it in the corresponding register, and select the molecule obtained above as the new molecule in the next iteration calculation. Applicable Second selection means set in the register, multiplication means by the new denominator and the quotient obtained by the division means, addition means by the product of the multiplication and the old denominator, and calculation means for iteratively calculating the denominator; Third selecting means for selecting the new denominator as the old denominator in the next iterative calculation and setting it in the corresponding register, and selecting the obtained denominator as the new denominator in the next iterative calculation and setting it in the corresponding register; The detecting means for detecting each of the condition that the obtained remainder becomes zero, that the new numerator exceeds the predetermined number of digits, and that the new denominator exceeds the predetermined number of digits, and the detecting means Based on the information, it comprises a dividing means and a control means for repeating the operation of the calculating means or ending the repetition and outputting the reduced numerator and denominator.
任意の実数rに対して、ガウスの記号「r」(rを超え
ない最大整数)を用いて、 とおけば、rの正則連分数展開、 が得られる。rが有理数であれば、上記展開は有限回で
終了し(rm=bm)、rが無理数であれば、上記展開は有
限回で終了しない。この正則連分数の第n近似分数を既
約分数の形をもって、 で表わし、P-2=O,P-1=1,Q-2=1,Q-1=Oとおけば、漸
化式 Pn=Pn-2+bnPn-1,n≧0 (5) Qn=Qn-2+bnQn-1,n≧0 (6) が成立することは数字的に周知であり、例えば日本数学
会編集:数学辞典第2版,岩波書店(1968年6月)pp.5
31〜532に記載されている。For any real number r, using the Gaussian symbol “r” (the largest integer not exceeding r), In other words, the regular continued fraction expansion of r, Is obtained. If r is a rational number, the expansion ends in a finite number of times (rm = bm), and if r is an irrational number, the expansion does not end in a finite number of times. The nth approximation fraction of this regular continued fraction has the form of irreducible fraction, , P -2 = O, P -1 = 1, Q -2 = 1, Q -1 = 0, the recurrence formula P n = P n-2 + b n P n-1 ,, n ≧ 0 (5) Q n = Q n-2 + b n Q n-1 , n ≧ 0 It is well known numerically that (6) holds, for example, edited by The Mathematical Society of Japan, Second Edition, Iwanami Shoten ( June 1968) pp.5
31-532.
こゝで、bnについては とおき、 r=r0,Rn-2=P,Rn-1=Qとすることにより、 Rn=Rn-2−bnRn-1 (7) が得られる。(7)式において被除数をRn-2、除数をR
n-1としたときの除算の商としてbnを求めることができ
る。Here, for b n By setting r = r 0 , R n-2 = P, R n-1 = Q, R n = R n-2 −b n R n-1 (7) is obtained. In equation (7), the dividend is R n-2 and the divisor is R
b n can be obtained as the quotient of division when n-1 .
前記被除数、除数、旧分子、新分子、旧分母、新分母を
保持するレジスタ群のうち、被除数と除数を保持するレ
ジスタでは(7)式のRn-2,Rn-1を格納し、旧分子と新
分子を保持するレジスタでは(5)式Pn-2,Pn-1を格納
し、旧分母と新分母を保持するレジスタでは(6)式の
Qn-2,Qn-1を格納する。また、除算手段では(5)式、
(6)式、(7)式で用いるbn(商)を求め、除数と商
の積に被除数を加算する演算手段では(7)式を、新分
子は商の積に旧分子を加算する演算手段では(5)式
を、新分母と商の積に旧分母を加算する演算手段では
(6)式をそれぞれ実行する。Of the register group holding the dividend, the divisor, the old numerator, the new numerator, the old denominator, and the new denominator, the registers holding the dividend and divisor store R n-2 and R n-1 in the expression (7), The register holding the old numerator and the new numerator stores the formulas (5) P n-2 and P n-1 , and the register holding the old and new denominators stores the formula (6).
Stores Q n-2 and Q n-1 . Also, in the division means, equation (5),
Equation (7) is used in the calculation means for obtaining b n (quotient) used in equations (6) and (7), and the dividend is added to the product of the divisor and the quotient, and the new numerator adds the old numerator to the product of the quotient. The computing means executes the equation (5), and the computing means for adding the old denominator to the product of the new denominator and the quotient executes the equation (6).
これらの各レジスタの間、及び、除算・演算手段とレジ
スタの間に選択手段を配置して(7)、(5)、(6)
式を反復して実行できるようにし、さらに、検出手段と
制御手段を用いて反復計算の終了判定を行い結果を出力
することにより、ハードウェアによる高速な有理数演算
が達成される。The selecting means is arranged between these registers and between the dividing / calculating means and the register (7), (5), (6).
A high-speed rational arithmetic operation by hardware is achieved by making it possible to repeatedly execute an expression, and further determining the end of the iterative calculation using the detection means and the control means and outputting the result.
以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の有理数演算装置の一実施例の構成図で
あり、1は本有理数演算装置全体の制御を司どる制御回
路、2は被除数入力選択回路、3は旧分子入力選択回
路、4は旧分母入力選択回路、5は除数入力選択回路、
6は新分子入力選択回路、7は新分母入力選択回路、8
は被除数レジスタ、9は旧分子レジスタ、10は旧分母レ
ジスタ、11は除数レジスタ、12は新分子レジスタ、13は
新分母レジスタ、14は被除数有効ビット長検出回路、15
は除数有効ビット長検出回路、16は第1演算数選択回
路、17は第2演算数選択回路、18は第1演算数用ビット
シフタ、19は第2演算数用ビットシフタ、20は商ビット
長予測回路、21は反転回路A、22はテーブルアドレス選
択回路、23はテーブルアドレスレジスタ、24はテーブル
情報格納ユニット、25は被加数選択回路、26は被乗数選
択回路、27は乗数選択回路A、28は被加数レジスタA、
29は被乗数レジスタ、30は乗数レジスタ、31は反転回路
B、32は乗数選択回路B、33は複合演算器、34は演算結
果レジスタ、35は部分商用ビットシフタ、36は演算結果
ディレイレジスタ、37は被加数レジスタB、38は部分剰
余用ビットシフタ、39は反復終了条件検出回路、40は最
終分子選択回路、41は最終分母選択回路、42は最終分子
レジスタ、43は最終分母レジスタをそれぞれ示してい
る。FIG. 1 is a block diagram of an embodiment of a rational number arithmetic unit of the present invention, in which 1 is a control circuit for controlling the entire rational number arithmetic unit, 2 is a dividend input selection circuit, 3 is an old numerator input selection circuit, 4 is the old denominator input selection circuit, 5 is the divisor input selection circuit,
6 is a new numerator input selection circuit, 7 is a new denominator input selection circuit, 8
Is a dividend register, 9 is an old numerator register, 10 is an old denominator register, 11 is a divisor register, 12 is a new numerator register, 13 is a new denominator register, 14 is a dividend effective bit length detection circuit, 15
Is a divisor effective bit length detection circuit, 16 is a first operation number selection circuit, 17 is a second operation number selection circuit, 18 is a first operation number bit shifter, 19 is a second operation number bit shifter, and 20 is a quotient bit length prediction Circuit, 21 inversion circuit A, 22 table address selection circuit, 23 table address register, 24 table information storage unit, 25 augend selection circuit, 26 multiplicand selection circuit, 27 multiplier selection circuit A, 28 Is the augend register A,
29 is a multiplicand register, 30 is a multiplier register, 31 is an inversion circuit B, 32 is a multiplier selection circuit B, 33 is a composite arithmetic unit, 34 is an operation result register, 35 is a partial commercial bit shifter, 36 is an operation result delay register, and 37 is The augend register B, 38 is a bit residue shifter for partial remainder, 39 is an iteration end condition detecting circuit, 40 is a final numerator selecting circuit, 41 is a final denominator selecting circuit, 42 is a final numerator register, and 43 is a final denominator register. There is.
約分の始めに、約分の対象となる分子が被除数選択回路
2で、定数“0"が旧分子選択回路3で、定数“1"が旧分
母入力選択回路42で選択され、また、約分の対象となる
分母が除数入力選択回路5で、定数“1"が新分子入力選
択回路6で、定数“0"が新分母入力選択回路7で選択さ
れ、それぞれ被除数レジスタ8、旧分子レジスタ9、旧
分母レジスタ10、除数レジスタ11、新分子レジスタ12、
新分母レジスタ13にセットされる。こゝで、被除数レジ
スタ8、除数レジスタ11のビット長は64、旧分子レジス
タ9、旧分母レジスタ10、新分子レジスタ12、新分母レ
ジスタ13のビット長は32とする。また、本実施例で取り
扱う数は2の補数表示の2進整数とする。At the beginning of the divisor, the numerator of the divisor is selected by the dividend selection circuit 2, the constant “0” is selected by the old numerator selection circuit 3, and the constant “1” is selected by the old denominator input selection circuit 42. The denominator to be divided is selected by the divisor input selection circuit 5, the constant “1” is selected by the new numerator input selection circuit 6, and the constant “0” is selected by the new denominator input selection circuit 7. The dividend register 8 and the old numerator register, respectively. 9, old denominator register 10, divisor register 11, new numerator register 12,
It is set in the new denominator register 13. Here, the bit length of the dividend register 8 and the divisor register 11 is 64, and the bit length of the old numerator register 9, old denominator register 10, new numerator register 12, and new denominator register 13 is 32. The numbers handled in this embodiment are binary integers in 2's complement notation.
被除数レジスタ8、除数レジスタ11の出力は被除数有効
ビット長検出回路14、除数有効ビット長検出回路15によ
り、有効ビット長が検出され、結果は商ビット長予測回
路20に送られる。商ビット長予測回路20では、被除数ま
たは除数の有効ビット長が0かどうか、被除数の有効ビ
ット長から除数の有効ビット長を引いた差を制御回路1
に送る。こゝで2の補数表示の2進整数の有効ビット長
とは正の整数の場合には全体のビット長から、先頭から
の連続する“0"のビット列の長さを引いた値とし、負の
整数の場合には全体のビット長から、先頭から連続する
“1"のビット列の長さを引いた値に対し、後続のビット
列がすべて“0"から構成される場合には1を加えて補正
した値を(整数のビット列がすべて“1"から構成される
場合も1を加えるものとする)、それ以外の場合には補
正を加えずにそのまゝの値とする。The outputs of the dividend register 8 and the divisor register 11 are detected by the dividend effective bit length detection circuit 14 and the divisor effective bit length detection circuit 15 as effective bit lengths, and the results are sent to the quotient bit length prediction circuit 20. The quotient bit length prediction circuit 20 determines whether the effective bit length of the dividend or divisor is 0, and the difference obtained by subtracting the effective bit length of the dividend from the effective bit length of the dividend.
Send to. Here, the effective bit length of a binary integer in 2's complement notation is the value obtained by subtracting the length of the continuous "0" bit string from the beginning, if the value is a positive integer, and the value is negative. In the case of an integer, add the value obtained by subtracting the length of the continuous bit string of "1" from the beginning from the total bit length, and add 1 if the subsequent bit string consists of all "0". The corrected value is added (1 is added even when the integer bit string is composed of all "1" s), and in other cases, the value is kept as it is without correction.
制御回路1では商ビット長予測回路20より与えられた情
報に基づき、被除数または除数の有効ビット長が0のと
きには約分処理を打ち切り、第1図では図示していない
データ処理装置を構成する他の装置に割込み信号を送る
などのしかるべき処理を行う。同様に被除数と除数の有
効ビット長の減算結果が32を越える場合には約分後の分
子が32ビット長に収まらないのでオーバフローとして、
また有効ビット長の減算結果が負で−32よりも小さい場
合には約分後の分母が32ビット長に収まらないのでアン
ダフローとして他の装置に割込み信号を送るなどのしか
るべき処理を行い、約分処理を打ち切る。オーバフロ
ー、アンダーフローについては、被除数と除数の有効ビ
ット長の減算結果の絶対値が31または32の場合には被除
数と除数のデータに依存して約分後の分子または分母が
32ビットに収まるかどうかが決まるが、これは反復終了
条件判定回路39により第1回目の反復計算の(5)式に
対応した演算結果の有効ビット長が32を超えることを検
出したときオーバフロー、また第1回目の反復計算の
(6)式に対応した演算結果の有効ビット長が32を越え
たことを検出したときアンダフローとして、制御回路1
は約分処理を打ち切り、他の装置に割込み信号を送るな
どのしかるべき処理を行う。In the control circuit 1, based on the information given from the quotient bit length prediction circuit 20, when the effective bit length of the dividend or divisor is 0, the divisor processing is terminated, and a data processing device not shown in FIG. 1 is constructed. Perform appropriate processing such as sending an interrupt signal to the device. Similarly, if the result of subtraction of the effective bit length of the dividend and divisor exceeds 32, the numerator after the reduction will not fit in the 32-bit length, so an overflow will occur.
If the result of subtracting the effective bit length is negative and less than −32, the denominator after the reduction will not fit in the 32-bit length, so perform appropriate processing such as sending an interrupt signal to another device as an underflow. Abandon processing. Regarding overflow and underflow, when the absolute value of the result of subtraction of the effective bit length of the dividend and divisor is 31 or 32, the numerator or denominator after the reduction depends on the data of the dividend and divisor.
Whether or not it fits into 32 bits is determined. This is an overflow when the iterative end condition determination circuit 39 detects that the effective bit length of the operation result corresponding to the equation (5) of the first iterative calculation exceeds 32, When it is detected that the effective bit length of the operation result corresponding to the equation (6) of the first iterative calculation exceeds 32, the control circuit 1
Cancels the reduction processing and performs appropriate processing such as sending an interrupt signal to another device.
被除数と除数の有効ビット長の減算結果が負で−32以上
(絶対値では32以下)のときには、被除数レジスタ8、
旧分子レジスタ9、旧分母レジスタ10の内容を順次、第
1演算数選択回路16を経由し、第1演算数用ビットシフ
タ18ではシフト動作を伴うことなく通過させ、被加数選
択回路25を経由して被加数レジスタ28にセットし、一方
部分商用ビットシフタ35では“0"を出力して乗数選択回
路27を経由して乗数レジスタ30にセットした後、複合演
算器33で乗数部分の積を“0"として被加数を演算結果レ
ジスタ34にセットし、除数入力選択回路5、新分子入力
選択回路6、新分母入力選択回路7により選択して除数
レジスタ11、新分子レジスタ12、新分母レジスタ13にセ
ットするとゝもに、それぞれのレジスタの更新前のデー
タを、被除数入力選択回路2、旧分子入力選択回路3、
旧分母入力選択回路4により選択し、被除数レジスタ
8、旧分子レジスタ9、旧分母レジスタ10にセットす
る。以上の動作により、被乗数レジスタ8と除数レジス
タ11、旧分子レジスタ9と新分子レジスタ12、旧分母レ
ジスタ10と新分母レジスタ13との間で、それぞれデータ
の交換が行われたことになる。When the subtraction result of the effective bit length of the dividend and the divisor is negative and is −32 or more (32 or less in absolute value), the dividend register 8,
The contents of the old numerator register 9 and the old denominator register 10 are sequentially passed through the first operation number selection circuit 16 and are passed through the first operation number bit shifter 18 without a shift operation, and are passed through the augend selection circuit 25. Then, in the augend register 28, while the partial commercial bit shifter 35 outputs "0" and sets it in the multiplier register 30 via the multiplier selection circuit 27, the composite arithmetic unit 33 calculates the product of the multiplier parts. The augend is set to "0" in the operation result register 34 and selected by the divisor input selection circuit 5, the new numerator input selection circuit 6, and the new denominator input selection circuit 7 to select the divisor register 11, the new numerator register 12, the new denominator. When the register 13 is set, the data before update of each register is also converted into the dividend input selection circuit 2, the old numerator input selection circuit 3,
It is selected by the old denominator input selection circuit 4 and set in the dividend register 8, the old numerator register 9, and the old denominator register 10. By the above operation, data is exchanged between the multiplicand register 8 and the divisor register 11, the old numerator register 9 and the new numerator register 12, and the old denominator register 10 and the new denominator register 13, respectively.
被除数と除数の有効ビット長の減算結果が0以上32以下
のときに以下の約分処理を行う。被除数および除数は第
1演算数選択回路16、第2演算数選択回路17によりそれ
ぞれ選択された後、第1演算数用ビットシフタ18、第2
演算数用ビットシフタ19によりビット正規化(先頭から
1番目のビットと2番目のビット値が異なる)された
後、ビット正規化後の除数の先頭から第3番目以降のビ
ットがすべて“0"であるかどうか調べられ、すべて“0"
の場合にはテーブル情報格納ユニット24を参照すること
なく、除数の符号に対応して正確な逆数が乗数選択回路
27により選択され、乗数レジスタ30にセットされる。ま
た、ビット正規化後の先頭から第3番目以降のビットが
すべて“0"でないときには、除数が正の場合には第3番
目から第11番目のビットを、除数が負の場合には第3番
目から第11番目のビットを反転回路A21でビット反転し
た後、テーブルアドレス選択回路22で選択し、テーブル
アドレスレジスタ23にセットしてテーブル情報格納ユニ
ット24を参照する。テーブル情報格納ユニット24は除数
の近似逆数を格納しており、商の精度は商の桁あふれの
ないとき8ビット、商の桁あふれのあるとき9ビットま
で正確に商を求めることができるよう構成されているも
のとする。When the subtraction result of the effective bit length of the dividend and the divisor is 0 or more and 32 or less, the following reduction processing is performed. The dividend and the divisor are selected by the first operation number selection circuit 16 and the second operation number selection circuit 17, respectively, and then the first operation number bit shifter 18 and the second operation number bit shifter 18.
After being bit-normalized (the first bit from the beginning differs from the second bit value) by the bit shifter 19 for arithmetic operation, all bits from the beginning to the third from the beginning of the divisor after bit normalization are "0". I checked if there were any and all were "0"
In this case, the exact reciprocal number corresponding to the sign of the divisor is the multiplier selection circuit without referring to the table information storage unit 24.
Selected by 27 and set in multiplier register 30. Further, when all the bits after the third from the beginning after the bit normalization are not “0”, the third to eleventh bits are set if the divisor is positive, and the third bits are set if the divisor is negative. The bit from the 11th bit to the 11th bit is inverted by the inversion circuit A21, selected by the table address selection circuit 22, set in the table address register 23, and the table information storage unit 24 is referred to. The table information storage unit 24 stores the approximate reciprocal of the divisor and is configured so that the quotient precision can be accurately calculated up to 8 bits when there is no overflow of the quotient and 9 bits when there is an overflow of the quotient. It has been done.
除数の近似逆数を準備するのと時間を同じくして、部分
剰除の初期値の準備を行う。ビット正規化後の被除数
が、被加数選択回路25により選択された後、被加数レジ
スタ28にセットされる。乗数には部分商用ビットシフタ
35が“0"を出力し、これが乗数選択回路A27を経由して
乗数レジスタ30にセットされる。また、乗数選択回路B3
2により乗数として“0"が選択され、複合演算器33では
ビット正規化後の被除数がそのまゝ演算結果として求め
られ、演算結果レジスタ34にセットされる。演算結果レ
ジスタ34の出力は演算結果ディレイレジスタ36にセット
された後、被加数レジスタB37にセットされる。At the same time as preparing the approximate reciprocal of the divisor, the initial value for partial division is prepared. The dividend after bit normalization is selected by the augend selection circuit 25 and then set in the augend register 28. Partial commercial bit shifter for multiplier
35 outputs "0", which is set in the multiplier register 30 via the multiplier selection circuit A27. Also, the multiplier selection circuit B3
“0” is selected as the multiplier by 2 and the compound arithmetic unit 33 obtains the dividend after bit normalization as it is, and sets it in the arithmetic result register 34. The output of the operation result register 34 is set in the operation result delay register 36 and then set in the augend register B37.
次に部分商を求める動作に入る。ビット正規化後の除数
に依存して前記のように求められた除数の逆数が乗数レ
ジスタ30にセットされる。被加数選択回路25では“0"が
選択され、被加数レジスタA28にセットされる。一方、
ビット正規化後の被除数が被乗数選択回路26により選択
され、被乗数レジスタ29にセットされる。乗数レジスタ
30にセットされた乗数は、除数が正のときは乗数をその
まゝ、除数が負のときは反転回路B31により乗数をビッ
ト反転したものを乗数選択回路B32により選択し、複合
演算器33で被除数と除数の逆数の積を求めて演算結果レ
ジスタ34にセットする。なお、乗数として負の数を使用
する場合には乗数の下位の打ち切りビットに“1"を付加
することにより、複合演算器33では直接2の補数の積が
得られるようになっている。演算結果レジスタ34にセッ
トされたデータの上位のビットから符号として1ビッ
ト、部分商の桁あふれ1ビット、部分商8ビットの合計
10ビットが部分商用ビットシフタ35に送られ、8から商
の予測ビット長を8で除したときの剰余を引いた数だけ
右シフトされた後、乗数選択回路A27により選択されて
乗数レジスタ30にセットされる。これより(7)式、
(5)式、(6)式に対応した計算を行う。Next, the operation for obtaining the partial quotient is started. The reciprocal of the divisor obtained as described above depending on the divisor after bit normalization is set in the multiplier register 30. In the augend selection circuit 25, "0" is selected and set in the augend register A28. on the other hand,
The bit-normalized dividend is selected by the multiplicand selection circuit 26 and set in the multiplicand register 29. Multiplier register
When the divisor is positive, the multiplier set to 30 is the multiplier as it is, and when the divisor is negative, the multiplier bit-inverted by the inverting circuit B31 is selected by the multiplier selection circuit B32. The product of the dividend and the reciprocal of the divisor is calculated and set in the operation result register 34. When a negative number is used as the multiplier, "1" is added to the lower-order truncation bit of the multiplier, so that the compound operator 33 can directly obtain the product of the two's complement. Sum of 1 bit as a code, 1 bit of partial quotient overflow, and 8 bits of partial quotient from the upper bits of the data set in the operation result register 34
10 bits are sent to the partial commercial bit shifter 35, right-shifted by the number obtained by subtracting the remainder when the predicted bit length of the quotient is divided by 8, and then selected by the multiplier selection circuit A27 and set in the multiplier register 30. To be done. From this, equation (7),
Calculations corresponding to equations (5) and (6) are performed.
先ず、被加数として、被加数レジスタB37にセットされ
ている部分剰余が部分剰余用ビットシフタ38により商の
予測ビット長を8で除したときの除余の数だけ左にシフ
トされ、被加数レジスタ28にセットされる。被乗数とし
てビット正規化後の除数が被乗数選択回路26に選択され
て被乗数レジスタ29にセットされる。乗数は、前記の乗
数レジスタ30にセットされたデータが反転回路B31によ
り反転され、乗数選択回路B32により選択される。この
ようにして、(7)式に対応した被除数−除数×部分商
の計算が複合演算器33で行われ、演算結果レジスタ34に
部分剰余としてセットされる。First, as the augend, the partial remainder set in the augend register B37 is shifted to the left by the number of remainders obtained by dividing the predicted bit length of the quotient by 8 by the partial remainder bit shifter 38, and the augend is added. It is set in the number register 28. The bit-normalized divisor is selected as the multiplicand by the multiplicand selection circuit 26 and set in the multiplicand register 29. The multiplier is selected by the multiplier selection circuit B32 after the data set in the multiplier register 30 is inverted by the inversion circuit B31. In this way, the calculation of the dividend-divisor × partial quotient corresponding to the expression (7) is performed by the complex computing unit 33 and set in the computation result register 34 as a partial remainder.
商の予測ビット長が8以上の場合には、更に除算を続け
るために、演算結果レジスタ34の出力は演算結果ディレ
イレジスタ36にセットされ、商の予測ビット長が8未満
の場合には、除数入力選択回路5により選択されて除数
レジスタ11にセットされるとゝもに、除数レジスタ11の
更新前のデータが被除数入力選択回路2により選択され
て被除数レジスタ8にセットされる。When the quotient predicted bit length is 8 or more, the output of the operation result register 34 is set in the operation result delay register 36 in order to continue the division, and when the quotient predicted bit length is less than 8, the divisor Once selected by the input selection circuit 5 and set in the divisor register 11, the data before update in the divisor register 11 is selected by the dividend input selection circuit 2 and set in the dividend register 8.
続いて、旧分子レジスタ9の出力が第1演算数選択回路
16により選択され、第1演算数用ビットシフタ18をシフ
トされることなく通過した後、被加数選択回路25により
選択され、被加数レジスタA28にセットされる。一方、
新分子レジスタ12の出力が第2演算数選択回路17により
選択され、第2演算数用ビットシフタ19では商の予測ビ
ット長の2進数としての下位3ビットを切り捨てた数だ
け左シフトされた後、被乗数選択回路26に選択されて被
乗数レジスタ29にセットされる。乗数としては乗数レジ
スタ30の出力がそのまゝ乗数選択回路B32により選択さ
れる。このようにして、(5)式に対応した計算が複合
演算器33で行われ、演算結果レジスタ34に結果がセット
される。Then, the output of the old numerator register 9 is the first operation number selection circuit.
After being selected by 16, passed through the first operation number bit shifter 18 without being shifted, it is selected by the augend selection circuit 25 and set in the augend register A28. on the other hand,
The output of the new numerator register 12 is selected by the second operation number selection circuit 17, and the second operation number bit shifter 19 shifts to the left by the number obtained by cutting off the lower 3 bits as the binary number of the estimated bit length of the quotient. It is selected by the multiplicand selection circuit 26 and set in the multiplicand register 29. As the multiplier, the output of the multiplier register 30 is selected by the multiplier selection circuit B32. In this way, the calculation corresponding to the equation (5) is performed by the composite arithmetic unit 33, and the result is set in the arithmetic result register 34.
商の予測ビット長が8以上の場合には、更に除算が続け
られるので、演算結果レジスタ34の出力は演算結果ディ
レイレジスタ36にセットされ、商の予測ビット長が8未
満の場合には、新分子入力選択回路6により選択されて
新分子レジスタ12にセットされるとゝもに、新分子レジ
スタ12の更新前のデータが旧分子選択回路3により選択
され、旧分子レジスタ9にセットされる。When the predicted bit length of the quotient is 8 or more, the division is further continued, so the output of the operation result register 34 is set in the operation result delay register 36, and when the predicted bit length of the quotient is less than 8, a new Once selected by the molecule input selection circuit 6 and set in the new molecule register 12, the data before update of the new molecule register 12 is selected by the old molecule selection circuit 3 and set in the old molecule register 9.
同様に旧分母レジスタ10の出力が第1演算数選択回路16
により選択され、第1演算数用ビットシフタ18をシフト
されることなく通過した後、被加数選択回路25により選
択され、被加数レジスタA28にセットされる。一方、新
分母レジスタ13の出力が第2演算数選択回路17により選
択され、第2演算数用ビットシフタ19では新分子の場合
と同じビット数だけ左にシフトされた後、被乗数レジス
タ選択回路26に選択されて被乗数レジスタ29にセットさ
れる。乗数としては、旧分子、新分子の場合と同じもの
がそのまゝ使われる。このようにして、(6)式に対応
した計算が複合演算器33で行われ、演算結果レジスタ34
に結果がセットされる。Similarly, the output of the old denominator register 10 is the first operation number selection circuit 16
After passing through the first operation number bit shifter 18 without being shifted, it is selected by the augend select circuit 25 and set in the augend register A28. On the other hand, the output of the new denominator register 13 is selected by the second operation number selection circuit 17, and the second operation number bit shifter 19 shifts to the left by the same number of bits as in the case of the new numerator. It is selected and set in the multiplicand register 29. As the multiplier, the same ones as in the case of the old molecule and the new molecule are used as they are. In this way, the calculation corresponding to the equation (6) is performed by the complex computing unit 33, and the computation result register 34
The result is set to.
商の予測ビット長が8以上の場合には、更に除算が続け
られるので、演算結果レジスタ34の出力は演算結果ディ
レイレジスタ36にセットされ、商の予測ビット長が8未
満の場合には、新分母入力選択回路7により選択されて
新分母レジスタ13にセットされるとゝもに、新分母レジ
スタ13の更新前のデータが旧分母入力選択回路4により
選択され旧分母レジスタ10にセットされる。こゝで、商
の予測ビット長が8以上の場合は、(6)式に対応する
結果が演算結果レジスタ34にセットされると同時に
(5)式に対応する結果が演算結果ディレイレジスタ36
に、(7)式に対応する結果が被乗数レジスタ29と被加
数レジスタB7の両方にそれぞれセットされる。When the predicted bit length of the quotient is 8 or more, the division is further continued, so the output of the operation result register 34 is set in the operation result delay register 36, and when the predicted bit length of the quotient is less than 8, a new Once selected by the denominator input selection circuit 7 and set in the new denominator register 13, the data before update in the new denominator register 13 is selected by the old denominator input selection circuit 4 and set in the old denominator register 10. Here, when the predicted bit length of the quotient is 8 or more, the result corresponding to the expression (6) is set in the operation result register 34, and at the same time the result corresponding to the expression (5) is obtained.
Then, the result corresponding to the expression (7) is set in both the multiplicand register 29 and the augend register B7.
商の予測ビット長が8以上の場合には、上記一連の動作
を更に商の予測ビット長を8で除したときの商の回数繰
り返す。上記一連の動作との違いは、部分商を求めると
きの被乗数として演算結果ディレイレジスタ36の出力を
選択すること、部分商用ビットシフタ35ではシフトする
ことなく部分商を通過させること、(7)式の計算では
部分剰余用ビットシフタ38により部分剰除を左に8ビッ
トシフトさせること、(5),(6)式の計算では被加
数として被加数レジスタB37を使用し部分剰余用ビット
シフタ38ではシフトすることなく通過させることゝ第2
演算数用ビットシフタ19での左へのシフト数を順次8ず
つ減小させることである。商の予測ビット長を8で除し
たときの商の回数だけ動作を繰り返した後、商の予測ビ
ット長が8未満のときと同様にして、被除数レジスタ
8、旧分子レジスタ9、旧分母レジスタ10、除数レジス
タ11、新分子レジスタ12、新分母レジスタ13が更新され
る。When the estimated bit length of the quotient is 8 or more, the above series of operations is repeated the number of times of the quotient when the estimated bit length of the quotient is further divided by 8. The difference from the above series of operations is that the output of the operation result delay register 36 is selected as the multiplicand when the partial quotient is obtained, that the partial quotient is passed through the partial commercial bit shifter 35 without being shifted, In the calculation, the partial remainder bit shifter 38 shifts the partial remainder to the left by 8 bits. In the calculation of the equations (5) and (6), the augend register B37 is used as the augend and the partial remainder bit shifter 38 shifts. Passing without doing the second
That is, the number of shifts to the left in the operation number bit shifter 19 is sequentially reduced by 8. After repeating the operation for the number of quotients obtained by dividing the estimated bit length of the quotient by 8, the dividend register 8, the old numerator register 9, and the old denominator register 10 are processed in the same manner as when the estimated bit length of the quotient is less than 8. , The divisor register 11, the new numerator register 12, and the new denominator register 13 are updated.
上記各レジスタの更新と時間を同じくして、反復終了条
件検出回路39により反復終了条件が成立したかどうかが
調べられる。反復終了条件が成立しないときは更新後の
上記レジスタにセットされたデータに対して(7),
(5),(6)式に対応した反復計算を行う。なお、第
2回目以降の反復計算での商のビット長予測では、除数
レジスタ11にセットされた除数は、必ずしもビット正規
化されているとは限らない被除レジスタ8にセットされ
た被除数がビット正規化された後の大きさにあることを
考慮して、商ビット長予測回路20では、被除数有効ビッ
ト長検出回路14の出力を使用しないで、被除数はすでに
ビット正規化されているとして商のビット長を予測す
る。反復終了条件が成立したときには、部分剰余が零の
場合には新分子レジスタ12、新分母レジスタ13の出力
が、また分子または分母に対する反復計算の結果が32ビ
ットを越えたときには旧分子レジスタ9、旧分母レジス
タ10の出力が、それぞれ最終分子選択回路40、最終分母
選択回路41により選択され、最終分子レジスタ42、最終
分母レジスタ43にセットされる。At the same time as the update of each register, the iterative end condition detection circuit 39 checks whether or not the iterative end condition is satisfied. When the condition for terminating the repetition is not satisfied, the data set in the above register after the update (7),
Iterative calculation corresponding to equations (5) and (6) is performed. Note that in the bit length prediction of the quotient in the second and subsequent iterative calculations, the divisor set in the divisor register 11 is not necessarily bit-normalized, and the dividend set in the dividend register 8 is bit-wise. In consideration of being in the size after being normalized, the quotient bit length prediction circuit 20 does not use the output of the dividend effective bit length detection circuit 14, and the dividend is already bit-normalized. Predict the bit length. When the iteration end condition is satisfied, the output of the new numerator register 12 and the new denominator register 13 when the partial remainder is zero, and the old numerator register 9 when the result of the iterative calculation for the numerator or denominator exceeds 32 bits, The output of the old denominator register 10 is selected by the final numerator selection circuit 40 and the final denominator selection circuit 41, respectively, and set in the final numerator register 42 and the final denominator register 43.
以上、本発明の一実施例を説明したが、本発明の適用に
際しては、精度上望ましいように各レジスタのビット長
を決めればよく、本実施例のようにレジスタのビット長
を64,32に限定する必要はない。Although one embodiment of the present invention has been described above, when applying the present invention, the bit length of each register may be determined as desired in terms of accuracy, and the bit length of the register is set to 64,32 as in the present embodiment. There is no need to limit it.
また、本実施例では1個の複合演算器によりすべての計
算を行っているが、複合演算器を3個使用しもよく、ま
た、場合によっては複合演算器を加算器と乗算器に分解
することも可能であり、更に本実施例のようにテーブル
情報格納ユニットを使用しない除算器を用いても本発明
の有理数演算装置を構成できる。Further, in the present embodiment, all calculations are performed by one complex computing unit, but three complex computing units may be used, and depending on the case, the complex computing unit is decomposed into an adder and a multiplier. The rational number arithmetic unit of the present invention can also be configured by using a divider that does not use the table information storage unit as in the present embodiment.
以上の説明から明らかな如く、本発明によれば、高速乗
除算器を使用して約分ができるので、約分の高速化に効
果があり、ハードウェアによる高速な有理数演算が実現
される。As is clear from the above description, according to the present invention, since the reduction can be performed by using the high speed multiplier / divider, there is an effect in speeding up the reduction, and a high-speed rational arithmetic operation by hardware is realized.
第1図は本発明の一実施例の有理数演算装置の構成図で
ある。 8……被除数レジスタ、9……旧分子レジスタ、10……
旧分母レジスタ、11……除数レジスタ、12……新分子レ
ジスタ、13……新分母レジスタ、20……商ビット長予測
回路、35……部分商用ビットシフタ、39……反復終了条
件検出回路。FIG. 1 is a block diagram of a rational arithmetic unit according to an embodiment of the present invention. 8 ... dividend register, 9 ... old numerator register, 10 ...
Old denominator register, 11 …… Divisor register, 12 …… New numerator register, 13 …… New denominator register, 20 …… Quarter bit length prediction circuit, 35 …… Partial commercial bit shifter, 39 …… Repeation end condition detection circuit.
Claims (1)
約な分子、分母を求め、あるいは、ある桁数以内の既約
な近似的分子、分母を求める有理数演算装置であって、 約分の対象となる分子が初期設定される被除数レジスタ
と、 約分の対象となる分母が初期設定される除数レジスタ
と、 定数0が初期設定され旧分子レジスタと、 定数1が初期設定される旧分母レジスタと、 定数1が初期設定される新分子レジスタ、 定数0が初期設定される新分母レジスタと、 上記被除数レジスタの被除数と上記除数レジスタの除数
による除算を行い、商を求める演算を反復計算する除算
手段と、 上記除数レジスタの除数と上記除算手段により求めた商
とにより乗算を行い、該乗算の積と上記被除数レジスタ
の被除数により加算を行い、剰余を求める演算を反復計
算する演算手段と、 上記除数レジスタの除数を次の反復計算での被除数とし
て選択して上記被除数レジスタに設定し、上記求めた剰
余を次の反復計算での除数として選択して上記除数該当
レジスタに設定する第1選択手段と、 上記新分子レジスタの新分子と上記除算手段により求め
た商とにより乗算を行い、該乗算による積と上記旧分子
レジスタの旧分子により加算を行い、分子を求める演算
を反復計算する演算手段と、 上記新分子レジスタの新分子を次の反復計算での旧分子
として選択して上記旧分子レジスタに設定し、上記求め
た分子を次の反復計算での新分子として選択して新分子
レジスタに設定する第2選択手段と、 上記新分母レジスタの新分母と上記除算手段により求め
た商とにより乗算を行い、該乗算による積と上記旧分母
レジスタの旧分母により加算を行い、分母を求める演算
を反復計算する演算手段と、 上記新分母レジスタの新分母を次の反復計算での旧分母
として選択して上記旧分母レジスタに設定し、上記求め
た分母を次の反復計算での新分母として選択して新分母
レジスタに設定する第3選択手段と、 上記求めた剰余が零となること、新分子があらかじめ定
めた桁数を越えたこと、または新分母があらかじめ定め
た桁数を越えたことの条件のそれぞれを検出する検出手
段と、 上記検出手段による情報をもとに、上記除算手段、演算
手段の動作を反復するかまたは反復を終了して、約分さ
れた分子、分母を出力するよう制御する制御手段と、 からなることを特徴とする有理数演算装置。1. A rational number arithmetic device for obtaining a irreducible numerator and denominator by reducing a numerator and a denominator of a given numerical value, or an irreducible approximate numerator and denominator within a certain number of digits. , The dividend register in which the numerator to be reduced is initialized, the divisor register in which the denominator to be reduced is initialized, the constant 0 is initialized and the old numerator register is initialized, and the constant 1 is initialized. Old denominator register, new numerator register with constant 1 initialized, new denominator register with constant 0 initialized, and division by the dividend of the dividend register and the divisor of the divisor register to calculate the quotient. A division means for iteratively calculating, multiplication by the divisor of the divisor register and the quotient obtained by the division means, addition by the product of the multiplication and the dividend of the dividend register, and calculation of the remainder And the divisor of the divisor register is selected as the dividend in the next iterative calculation and set in the dividend register, and the obtained remainder is selected as the divisor in the next iterative calculation and the divisor is selected. The first selection means set in the corresponding register, the new numerator of the new numerator register and the quotient obtained by the division means are multiplied, and the product of the multiplication and the old numerator of the old numerator register are added to obtain the numerator. And the new molecule of the new molecule register is selected as the old molecule in the next iterative calculation and set in the old molecule register, and the obtained molecule is calculated in the next iterative calculation. Second multiplication means for selecting as a new numerator and setting it in the new numerator register, multiplication with the new denominator of the new denominator register and the quotient obtained by the division means, and multiplication with the product Operation means for iteratively calculating the denominator by performing addition using the old denominator of the old denominator register, and the new denominator of the new denominator register selected as the old denominator for the next iterative calculation and set in the old denominator register , Third selecting means for selecting the denominator obtained above as a new denominator in the next iterative calculation and setting it in the new denominator register, the obtained remainder becomes zero, and the new numerator exceeds a predetermined number of digits. That the new denominator has exceeded the predetermined number of digits, and the operation of the dividing means and the computing means is repeated based on the information by the detecting means and the information by the detecting means. A rational number arithmetic unit comprising: a control unit for controlling to output the reduced numerator and denominator after finishing the iteration.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61209016A JPH0789315B2 (en) | 1986-09-05 | 1986-09-05 | Rational arithmetic unit |
| US07/084,330 US4881193A (en) | 1986-09-04 | 1987-08-11 | Rational number operation unit for reduction |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61209016A JPH0789315B2 (en) | 1986-09-05 | 1986-09-05 | Rational arithmetic unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6365524A JPS6365524A (en) | 1988-03-24 |
| JPH0789315B2 true JPH0789315B2 (en) | 1995-09-27 |
Family
ID=16565872
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61209016A Expired - Lifetime JPH0789315B2 (en) | 1986-09-04 | 1986-09-05 | Rational arithmetic unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0789315B2 (en) |
-
1986
- 1986-09-05 JP JP61209016A patent/JPH0789315B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 「数学事典」第2版(昭51)岩波書店p.531−532 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6365524A (en) | 1988-03-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Karp et al. | High-precision division and square root | |
| US6240433B1 (en) | High accuracy estimates of elementary functions | |
| US5046038A (en) | Method and apparatus for performing division using a rectangular aspect ratio multiplier | |
| US5515308A (en) | Floating point arithmetic unit using modified Newton-Raphson technique for division and square root | |
| JPH03208170A (en) | Numeric system for calculating approximation of mathematical function and calculation method | |
| JPH04227531A (en) | Pipeline floating-point processor | |
| US5659495A (en) | Numeric processor including a multiply-add circuit for computing a succession of product sums using redundant values without conversion to nonredundant format | |
| EP0658256A1 (en) | High performance mantissa divider | |
| EP0416308A2 (en) | Rectangular array signed digit multiplier | |
| US9348796B2 (en) | Arithmetic operation in a data processing system | |
| JPH05250146A (en) | Arithmetic operation circuit executing integer involution processing | |
| JP2597775B2 (en) | Division method and division device | |
| US6598065B1 (en) | Method for achieving correctly rounded quotients in algorithms based on fused multiply-accumulate without requiring the intermediate calculation of a correctly rounded reciprocal | |
| JPH0687218B2 (en) | Floating-point arithmetic processing device and divisor multiple generation device | |
| JPH0687219B2 (en) | Control method | |
| US5377134A (en) | Leading constant eliminator for extended precision in pipelined division | |
| JPH0540605A (en) | Floating point multiplier | |
| JPH0789315B2 (en) | Rational arithmetic unit | |
| Jaiswal et al. | Taylor series based architecture for quadruple precision floating point division | |
| JPH0831024B2 (en) | Arithmetic processor | |
| JPH0283728A (en) | floating point multiplier | |
| JP3201097B2 (en) | Multiplication prescription method in multiplier | |
| EP2884403A1 (en) | Apparatus and method for calculating exponentiation operations and root extraction | |
| JP2518532B2 (en) | Subtractor shift type divider | |
| Padgett et al. | Fixed Point Numbers |