[go: nahoru, domu]

JPH083813B2 - Divider for linear interpolator - Google Patents

Divider for linear interpolator

Info

Publication number
JPH083813B2
JPH083813B2 JP60218914A JP21891485A JPH083813B2 JP H083813 B2 JPH083813 B2 JP H083813B2 JP 60218914 A JP60218914 A JP 60218914A JP 21891485 A JP21891485 A JP 21891485A JP H083813 B2 JPH083813 B2 JP H083813B2
Authority
JP
Japan
Prior art keywords
divider
data
subtraction
division
points
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
Application number
JP60218914A
Other languages
Japanese (ja)
Other versions
JPS6278678A (en
Inventor
智章 上田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP60218914A priority Critical patent/JPH083813B2/en
Priority to US06/911,551 priority patent/US4791582A/en
Publication of JPS6278678A publication Critical patent/JPS6278678A/en
Publication of JPH083813B2 publication Critical patent/JPH083813B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)
  • Image Generation (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> この発明は直線補間器において、2点間を複数に分割
する多数の点同士の間の変位量を算出するために使用さ
れる除算器に関する。
Description: TECHNICAL FIELD The present invention relates to a divider used in a linear interpolator to calculate a displacement amount between a large number of points that divide two points into a plurality of points. .

<従来の技術> 従来からグラフィック・ディスプレイ装置等において
直線補間器が使用されている。この直線補間器は、任意
の2点を結ぶ線分を等間隔に分割し、両端点と中間の分
割点の座標を連続的に演算するものであり、このため
に、互いに隣合う点同士の間の変位量を算出するため除
算を行なうこと、および一方の端点の座標値を基準とし
て上記変位量を順次累積的に加算することが必要であ
る。そして、この直線補間器の処理速度は、例えばグラ
フィック・ディスプレイ装置の描画速度に大きな影響を
与えるので、可能な限り高速であることが要求される。
<Prior Art> A linear interpolator has been conventionally used in a graphic display device or the like. This linear interpolator divides a line segment connecting any two points at equal intervals and continuously calculates the coordinates of the end points and the intermediate division points. It is necessary to perform division in order to calculate the amount of displacement between them, and to sequentially cumulatively add the amounts of displacement based on the coordinate values of one end point. The processing speed of this linear interpolator has a great influence on the drawing speed of a graphic display device, for example, and is therefore required to be as high as possible.

ところで、上記隣合う点同士の間の変位量を得るため
の除算器として、従来から、第3図に示すように、被除
数データが入力されたシフトレジスタ(21)と、除数デ
ータが入力されたレジスタ(22)と、両レジスタからの
データが入力される減算回路(23)と、減算回路(23)
により多数回の減算試行を行なって得られた商を格納す
る商レジスタ(24)とからなる構成が採用されており、
上記任意の2点間の分割数の多少に拘らず、商レジスタ
(24)に格納可能な桁数の全範囲について商を得るまで
減算試行を継続するようにしている。
By the way, as a divider for obtaining the displacement amount between the adjacent points, conventionally, as shown in FIG. 3, a shift register (21) to which dividend data is input and divisor data are input. Register (22), subtraction circuit (23) to which data from both registers is input, and subtraction circuit (23)
, A quotient register (24) for storing the quotient obtained by performing a number of subtraction trials is adopted.
The subtraction trial is continued until the quotient is obtained for the entire range of the number of digits that can be stored in the quotient register (24), regardless of the number of divisions between the arbitrary two points.

<発明が解決しようとする問題点> 上記の構成の除算器であれば、必要以上に精度が高い
商を得ることになり、減算試行回数が多いことに起因し
て除算時間が長くなるという問題がある。さらに詳細に
説明すると、直線補間器においては、累積的に行なわれ
る加算回数が、任意の2点間の分割数により一義に定ま
るのであるから、この定まった回数の加算を行なった場
合において整数部に誤差を生じさせない精度での除算を
行なえばよいにも拘らず、物理的に演算可能な最高精度
までの除算を行なっているので、必要以上の精度に対応
する部分の除算に要する時間が無駄となり、この無駄な
部分に対応する時間だけ除算時間が必要以上に長くなっ
ていた。
<Problems to be Solved by the Invention> With the divider having the above configuration, a quotient with higher precision than necessary is obtained, and the division time becomes long due to the large number of subtraction trials. There is. More specifically, in the linear interpolator, the number of cumulative additions is uniquely determined by the number of divisions between any two points. Therefore, when the fixed number of additions is performed, the integer part Although it is only necessary to perform division with an accuracy that does not cause an error in, the division is performed up to the highest precision that can be physically calculated, so the time required for division of the portion corresponding to more than necessary precision is wasted. Therefore, the division time was longer than necessary by the time corresponding to this useless portion.

<発明の目的> この発明は上記の問題点に鑑みてなされたものであ
り、減算試行回数を減少させて除算所要時間を、直線補
間器として必要な精度を損うことなく、短縮することが
できる直線補間器用除算器を提供することを目的として
いる。
<Object of the Invention> The present invention has been made in view of the above problems, and it is possible to reduce the number of times of subtraction trials and shorten the time required for division without impairing the accuracy required as a linear interpolator. It is an object of the present invention to provide a divider for a linear interpolator that can be used.

<問題点を解決するための手段> 上記の目的を達成するための、この発明の直線補間器
用除算器は、補間を必要とする始終点間の距離に基づい
て定まる分割数を算出し、得られた分割数に相当する回
数だけ前記始終点間の変位量の加算を始点側より行なっ
た状態で終点側の整数部に誤差を発生させない最小の回
数に除算器の減算試行回数を変更し、変更された減算試
行回数で除算器の減算試行を行なうものである。
<Means for Solving the Problems> To achieve the above object, the divider for a linear interpolator of the present invention calculates and obtains the number of divisions determined based on the distance between the start and end points that require interpolation. Change the subtraction trial number of the divider to the minimum number that does not cause an error in the integer part on the end point side in a state where the amount of displacement between the start point and the end point is added from the start point side by the number of times corresponding to the divided number, The subtraction trial of the divider is performed with the changed number of subtraction trials.

但し、除算器が、被除数、および除数を浮動小数点型
式に変換したデータに基いて除算を行なうものであり、
被除数に指数に2を加算した回数だけ除算を行なうとと
もに、除算結果を商レジスタに格納するものであっても
よい。
However, the divider performs division on the basis of the dividend and the data obtained by converting the divisor into a floating-point format.
The division may be performed as many times as the number obtained by adding 2 to the exponent, and the division result may be stored in the quotient register.

商レジスタが、除算結果の桁に対応する所定桁部分か
ら順にデータの入力を行なうものであってもよい。
The quotient register may input data sequentially from a predetermined digit portion corresponding to the digit of the division result.

<作用> 補間を必要とする始終点間の距離に基づいて定まる分
割数を算出し、得られた分割数に相当する回数だけ前記
始終点間の変位量の加算を始点側より行なった状態で終
点側の整数部に誤差を発生させない最小の回数に除算器
の減算試行回数を変更し、変更された減算試行回数で除
算器の減算試行を行なうことにより、始終点の間の距離
が多種多様な線分が混在しているグラフィックディスプ
レイ装置において、各線分に必要な最小限の精度での除
算結果を得ることができ、得られた除算結果を商レジス
タに格納することができる。
<Operation> In a state where the number of divisions determined based on the distance between the start and end points requiring interpolation is calculated, and the amount of displacement between the start and end points is added from the start point side by the number of times corresponding to the obtained number of divisions. By changing the subtraction trial number of the divider to the minimum number that does not cause an error in the integer part on the end point side and performing the subtraction trial of the divider with the changed subtraction trial number, the distance between the start and end points can be varied. In a graphic display device in which various line segments are mixed, a division result can be obtained with the minimum precision required for each line segment, and the obtained division result can be stored in a quotient register.

上記除算回数が、被除数、および除数を浮動小数点型
式に変換したデータに基いて除算を行なうものであり、
被除数の指数に2を加算した回数だけ減算試行を行なう
とともに、除算結果を商レジスタに格納するものであれ
ば、仮数部同士を、被除数の指数に2を加算した回数だ
け除算することにより、直線補間器用として必要な最小
限の精度での除算結果を得ることができ、得られた除算
結果を商レジスタに格納することができる。
The number of divisions is the division based on the data obtained by converting the dividend and the divisor into floating-point type expressions,
If the subtraction trial is performed the number of times that the exponent of the dividend is added and the division result is stored in the quotient register, the mantissa parts are divided by the number of times that the exponent of the dividend is added by 2 to obtain a straight line. The division result can be obtained with the minimum precision required for the interpolator, and the obtained division result can be stored in the quotient register.

商レジスタが、除算結果の桁に対応する所定桁部分か
ら順にデータの入力を行なうものであれば、必要な桁数
に対応する回数の入力データシフト、または入力桁切換
を行なうのみで、全ての除算結果を商レジスタに格納す
ることができる。
If the quotient register inputs data in order from a predetermined digit portion corresponding to the digit of the division result, all input data shifts or input digit switching is performed by the number of times corresponding to the required number of digits. The division result can be stored in the quotient register.

<実施例> 以下、実施例を示す添付図面によって詳細に説明す
る。
<Example> Hereinafter, an example will be described in detail with reference to the accompanying drawings.

第1図は直線補間器用除算器の一実施例を示すブロッ
ク図であり、被除数データを型変換回路(1)に入力し
ているとともに、除数データを型変換回路(2)に入力
している。この両型変換回路(1)(2)は、上記被除
数データA、および除数データBに基づいてそれぞれ符
号Sa,Sb、仮数部A′,B′、および指数部Na,Nbに対応す
るデータに変換するものである。そして、型変換回路
(1)からの仮数部A′をシフトレジスタ(3)に入力
させているとともに、型変換回路(2)からの仮数部
B′をシフトレジスタ(4)に入力させ、さらに上記両
レジスタ(3)(4)からの出力データを加算回路
(5)に入力させている。ここで加算回路(5)を使用
したのは、2進数の演算において加算と減算とは実質的
に同一だからであり、常に1のキャリー入力が与えら
れ、かつ片方の入力を1の補数(負論理)入力とするこ
とにより、減算回路として作用するようにしている。ま
た、上記型変換回路(1)からの指数部データNaが減算
試行回数制御用のカウンタ(6)に入力されているとと
もに、型変換回路(2)からの指数部データNbが商レジ
スタ(7)に入力されている。さらに上記加算回路
(5)からの出力データをシフトレジスタ(3)にフィ
ードバックさせているとともに、加算回路(5)からの
キャリー出力データをシフトレジスタ(3)、および商
レジスタ(7)に入力させている。
FIG. 1 is a block diagram showing an embodiment of a divider for a linear interpolator. The dividend data is input to the type conversion circuit (1) and the divisor data is input to the type conversion circuit (2). . Based on the dividend data A and the divisor data B, the two-type conversion circuits (1) and (2) convert the data corresponding to the codes Sa and Sb, the mantissa parts A ′ and B ′, and the exponent parts Na and Nb, respectively. It is to convert. The mantissa part A ′ from the type conversion circuit (1) is input to the shift register (3), and the mantissa part B ′ from the type conversion circuit (2) is input to the shift register (4). The output data from both the registers (3) and (4) is input to the adder circuit (5). The reason why the adder circuit (5) is used here is that addition and subtraction are substantially the same in a binary arithmetic operation, so that a carry input of 1 is always given and one input is complemented by 1 (negative). (Logical) input so that it operates as a subtraction circuit. Further, the exponent part data Na from the type conversion circuit (1) is input to the counter (6) for controlling the number of trials of subtraction, and the exponent part data Nb from the type conversion circuit (2) is the quotient register (7). ) Has been entered. Further, the output data from the adder circuit (5) is fed back to the shift register (3), and the carry output data from the adder circuit (5) is input to the shift register (3) and the quotient register (7). ing.

以上の構成の直線補間器用除算器であれば、被除数デ
ータAが、型変換回路(1)により符号データSaと絶対
値化データとに分離され、しかも、この絶対値化データ
を、仮数部データA′の整数部が1となるよう正規化す
るとともに、指数部データNaを生成する。また、上記除
数データBについても、型変換回路(2)により、同様
にして、符号データSb、正規化された仮数部データ
B′、および指数部データNbを生成する。そして、上記
被除数データAの指数部データNaがカウンタ(6)に入
力されることにより、加算回路(5)による減算試行回
数を(Na+2)回となるよう制御する。そして、このカ
ウンタ(6)による制御下において、上記両型変換回路
(1)(2)からの仮数部データA′,B′をそれぞれシ
フトレジスタ(3)、除数レジスタ(4)を通して加算
回路(5)に入力することにより、1回づつ減算動作を
遂行し、この加算回路(5)からのキャリー出力データ
が1であるか0であるかに対応させて、加算回路(5)
からの減算結果データをそのままシフトレジスタ(3)
に入力するか、シフトレジスタ(3)の内容をシフトさ
せるかを制御するとともに、キャリー出力データを、商
として商レジスタ(7)に入力する。そして、上記カウ
ンタ(6)の内容により規定される回数(Na+2)だけ
加算回路(5)による減算動作を遂行させることによ
り、2(Na-Nb)桁から2-(Nb+1)桁まで桁数が(Na+2)の
商を得ることができる。尚、上記の構成においては、絶
対値部分の演算結果のみが得られ、符号がどうなるか不
明でいるが、上記両型変換回路(1)(2)から出力さ
れる符号データSa,Sbを図示しない符号判定回路に入力
することにより判定することができる。
In the case of the linear interpolator divider having the above configuration, the dividend data A is separated into the code data Sa and the absolute value data by the type conversion circuit (1), and the absolute value data is converted into the mantissa data. Normalization is performed so that the integer part of A ′ becomes 1, and exponent part data Na is generated. Also for the divisor data B, the type conversion circuit (2) similarly generates code data Sb, normalized mantissa data B ′, and exponent data Nb. Then, the exponent data Na of the dividend data A is input to the counter (6) to control the number of subtraction trials by the adder circuit (5) to be (Na + 2). Under the control of the counter (6), the mantissa data A'and B'from the two-type conversion circuits (1) and (2) are respectively added through a shift register (3) and a divisor register (4). 5), the subtraction operation is performed once by one, and the adder circuit (5) is made to correspond to whether the carry output data from the adder circuit (5) is 1 or 0.
The subtraction result data from the shift register (3)
The carry output data is input to the quotient register (7) as a quotient while controlling whether it is input to or to shift the contents of the shift register (3). Then, by performing the subtraction operation by the adder circuit (5) the number of times (Na + 2) specified by the content of the counter (6), the digits from 2 (Na-Nb) digits to 2- (Nb + 1) digits are obtained. You can get the quotient with the number (Na + 2). In the above configuration, only the calculation result of the absolute value part is obtained, and it is unclear what the code is. However, the code data Sa, Sb output from the conversion circuits (1) and (2) are shown in the figure. The judgment can be made by inputting into the code judgment circuit.

直線補間器においては、上記のようにして得られた商
を、上記除数データとして入力されたデータBの指数部
データNbに対応させて2Nbから2(Nb+1)−1までの間の回
数だけ加算するのであるから、上記のように、2(Na-Nb)
桁から2-(Nb+1)桁までのデータとして得られる商を上記
回数だけ加算しても、整数部に誤差が生じることはな
く、正確な各分割点の座標を得ることができる。さらに
詳細に説明すると、商が固定小数点型式で表現されてい
る場合において、商の演算を2-(Nb+1)桁で打ち切ったと
すれば、2-(Nb+2)桁以降に誤差を生じる。この場合の打
ち切り誤差eは、 e<2-(Nb+1) であり、2(Nb+1)−1回の加算を行なった場合の累積加
算誤差Eは、 となり、累積加算誤差が整数部に与える誤差は1より小
さいことが分かる。
In the linear interpolator, the quotient obtained as described above is made to correspond to the exponent part data Nb of the data B input as the divisor data, and is between 2 Nb and 2 (Nb + 1) −1. Since only the number of times is added, as described above, 2 (Na-Nb)
Even if the quotient obtained as data from a digit to 2- (Nb + 1) digits is added by the number of times described above, an error does not occur in the integer part, and accurate coordinates of each division point can be obtained. More specifically, if the quotient is expressed in fixed-point format, and the quotient operation is truncated at 2- (Nb + 1) digits, an error will occur after 2-(Nb + 2) digits. . The censoring error e in this case is e <2- (Nb + 1) , and the cumulative addition error E when adding 2 (Nb + 1) −1 times is It can be seen that the error that the cumulative addition error gives to the integer part is smaller than 1.

したがって、B回の加算によって整数部に誤差を生じ
させないようにするには、商を 2-(Nb+1)桁目まで求めれば充分である。
Therefore, in order not to cause an error in the integer part by adding B times, it is sufficient to obtain the quotient up to the 2- (Nb + 1) th digit.

第2図は商レジスタ(7)の構成を示す電気回路図で
あり、各桁のデータに対応するセレクタ(8a)(8b)…
(8n)、およびラッチ回路(9a)(9b)…(9n)を有し
ている。そして、上記第1図の加算回路(5)からのキ
ャリー出力データCをバッファ(10)を通して上記各セ
レクタ(8a)(8b)…(8n)の一方の入力端子に入力し
ているとともに、上位桁のラッチ回路からの出力データ
を上記各セレクタの他方の入力端子に入力している。ま
た、クロック信号CLKをバッファ(11)を通して上記各
ラッチ回路(9a)(9b)…(9n)のクロック入力端子に
入力しているとともに、ロード信号LDをバッファ(12)
を通して上記各ラッチ回路(9a)(9b)…(9n)のクリ
ア端子に入力している。さらに、上記第1図の指数部デ
ータNa,Nbにより定まるストア・ポインタSPが、上記ロ
ード信号によって入力されるレジスタ(13)と、このレ
ジスタ(13)に格納されたストア・ポインタSPが入力さ
れるデコーダ(14)とを有し、デコード信号を上記各セ
レクタ(8a)(8b)…(8n)のセレクト入力端子に入力
することにより、所定の1のセレクタのみがキャリー出
力データCを対応するラッチ回路に入力するようにして
いる。
FIG. 2 is an electric circuit diagram showing the structure of the quotient register (7), and selectors (8a) (8b) ... Corresponding to the data of each digit.
(8n), and latch circuits (9a) (9b) ... (9n). The carry output data C from the adder circuit (5) in FIG. 1 is input to one input terminal of each of the selectors (8a) (8b) ... The output data from the digit latch circuit is input to the other input terminal of each selector. The clock signal CLK is input to the clock input terminals of the latch circuits (9a) (9b) ... (9n) through the buffer (11), and the load signal LD is also stored in the buffer (12).
Is input to the clear terminals of the above latch circuits (9a) (9b) ... (9n) through. Further, the store pointer SP determined by the exponent part data Na, Nb of FIG. 1 is inputted with the register (13) inputted by the load signal and the store pointer SP stored in this register (13). By inputting the decode signal to the select input terminals of the selectors (8a), (8b), ... (8n), only one predetermined selector corresponds to the carry output data C. It is input to the latch circuit.

したがって、デコーダ(14)からのデコード信号によ
り、順次1のセレクタがキャリー出力データをラッチ回
路に入力し、2(Na-Nb)桁から2-(Nb+1)桁までのデータと
して得られる商が上記第1図の加算回路(5)により浮
動小数点型式で得られるものであっても、上記第2図の
商レジスタを使用することにより、自動的に固定小数点
型式に変換することができ、しかも必要な全ての商デー
タを商レジスタに格納するための所要時間を、減算試行
回数が少なくなっていること、および必要な桁に対する
格納動作を行なわせるのみでよいことに対応して減少さ
せることができる。
Therefore, according to the decode signal from the decoder (14), the selector of 1 sequentially inputs the carry output data to the latch circuit, and the quotient is obtained as the data of 2 (Na-Nb) digits to 2- (Nb + 1) digits. , Which is obtained in the floating point type by the adder circuit (5) in FIG. 1, can be automatically converted to the fixed point type by using the quotient register in FIG. Moreover, the time required to store all the required quotient data in the quotient register is reduced in response to the fact that the number of subtraction trials is small and it is only necessary to perform the storing operation for the required digit. You can

上記の構成の商レジスタは、格納開始桁を2-(Nb+1)
とし、キャリー出力データを格納する毎に格納データを
シフトアップさせるようにしているが、キャリー出力デ
ータを2(Na-Nb)桁から順次下位桁に向かって格納する構
成とすることもできる。
In the quotient register having the above configuration, the storage start digit is set to 2- (Nb + 1) digits, and the stored data is shifted up every time the carry output data is stored, but the carry output data is set to 2 (Na- The configuration may be such that the Nb) digits are sequentially stored to the lower digits.

<発明の効果> 直線補間を行なうに当たって、始終点間の距離に基づ
いて定まる分割数に相当する回数だけ前記始終点間の変
位量の加算を始点側より行ない、このとき終点側の整数
部に誤差を生じない最小の回数に除算器の減算試行回数
を変更して、変更した減算試行回数で必要最小限の精度
で除算器の減算試行を行なうので、除算所要時間が短縮
され、グラフィックディスプレイ装置において大きな負
荷となる直線補間のために必要な所要時間を短縮するこ
とができるという特有の効果を奏する。
<Effect of the Invention> When performing linear interpolation, the displacement amount between the start and end points is added from the start point side by the number of times corresponding to the number of divisions determined based on the distance between the start and end points. By changing the subtraction trial number of the divider to the minimum number that does not cause an error and performing the subtraction trial of the divider with the minimum required precision with the changed subtraction trial number, the time required for division is shortened and the graphic display device In particular, there is a unique effect that the time required for linear interpolation, which is a heavy load, can be shortened.

特に、商データを予め判明している桁の範囲内に直接
格納する構成とした場合には、より一層の高速化を達成
することができるという効果を奏する。
In particular, when the quotient data is directly stored in a range of digits which is known in advance, it is possible to achieve an even higher speed.

【図面の簡単な説明】[Brief description of drawings]

第1図は直線補間器用除算器の一実施例を示すブロック
図、 第2図は商レジスタの一実施例を示す電気回路図、 第3図は除算器の従来例を示すブロック図。 (1)(2)…型変換回路、(3)(4)…シフトレジ
スタ、(5)…加算回路、(6)カウンタ、(7)…商
レジスタ、セレクタ(8a)(8b)…(8n)、ラッチ回路
(9a)(9b)…(9n)、(13)…レジスタ、(14)…デ
コーダ
1 is a block diagram showing an embodiment of a divider for a linear interpolator, FIG. 2 is an electric circuit diagram showing an embodiment of a quotient register, and FIG. 3 is a block diagram showing a conventional example of a divider. (1) (2) ... Type conversion circuit, (3) (4) ... Shift register, (5) ... Addition circuit, (6) Counter, (7) ... Quotation register, Selectors (8a) (8b) ... (8n ), Latch circuit (9a) (9b) ... (9n), (13) ... register, (14) ... decoder

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】任意の2点を始終点とし、前記始終点の間
を複数に、等間隔に分割する各分割点の座標を演算する
ことにより前記始終点の間を補間するグラフィックディ
スプレイ装置の直線補間器において使用される、前記始
終点の間の変位量を算出するための除算器であって、 前記始終点間の距離に基づいて定まる分割数を算出する
分割数算出手段と、 得られた分割数に相当する回数だけ変位量の加算を始点
側より行なった状態で終点側の整数部に誤差を発生させ
ない回数に除算器の減算試行回数を変更する減算試行回
数変更手段と、 変更された減算試行回数で除算器の減算試行を行ない、
得られた除算結果を商レジスタに格納することを特徴と
する直線補間器用除算器。
1. A graphic display device for interpolating between the starting and ending points by calculating coordinates of each of the dividing points which divides the starting and ending points into a plurality of points and divides the starting and ending points into a plurality of equal intervals. A divider used for calculating a displacement amount between the start and end points used in a linear interpolator, and a division number calculating means for calculating a division number determined based on a distance between the start and end points, The number of trials for changing the number of trials for subtraction of the divider is changed to a number that does not cause an error in the integer part on the end point side after adding the displacement amount from the start point side by the number of times corresponding to the number of divisions. The subtraction trial of the divider by the number of subtraction trials
A divider for a linear interpolator, characterized in that the obtained division result is stored in a quotient register.
【請求項2】除算器が、被除数、および除数を浮動小数
点型式に変換したデータに基づいて除算を行なうもので
あり、被除数の指数に2を加算した回数だけ減算試行を
行なうとともに、除算結果を商レジスタに格納するもの
である上記特許請求の範囲第1項記載の直線補間器用除
算器。
2. A divider performs a division based on a dividend and data obtained by converting a divisor into a floating-point format. Attempts are made to subtract the number of times 2 is added to the exponent of the dividend and the division result is obtained. The linear interpolator divider according to claim 1, which is stored in a quotient register.
【請求項3】商レジスタが、除算結果の桁に対応する所
定桁部分から順にデータの入力を行なうものである上記
特許請求の範囲第2項記載の直線補間器用除算器。
3. The divider for a linear interpolator according to claim 2, wherein the quotient register inputs data in order from a predetermined digit portion corresponding to the digit of the division result.
JP60218914A 1985-09-27 1985-10-01 Divider for linear interpolator Expired - Lifetime JPH083813B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60218914A JPH083813B2 (en) 1985-10-01 1985-10-01 Divider for linear interpolator
US06/911,551 US4791582A (en) 1985-09-27 1986-09-25 Polygon-filling apparatus used in a scanning display unit and method of filling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60218914A JPH083813B2 (en) 1985-10-01 1985-10-01 Divider for linear interpolator

Publications (2)

Publication Number Publication Date
JPS6278678A JPS6278678A (en) 1987-04-10
JPH083813B2 true JPH083813B2 (en) 1996-01-17

Family

ID=16727297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60218914A Expired - Lifetime JPH083813B2 (en) 1985-09-27 1985-10-01 Divider for linear interpolator

Country Status (1)

Country Link
JP (1) JPH083813B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5548614A (en) * 1978-10-04 1980-04-07 Hitachi Ltd Hot wire resistor for intake air flow meter of internal combustion engine

Also Published As

Publication number Publication date
JPS6278678A (en) 1987-04-10

Similar Documents

Publication Publication Date Title
JP3541066B2 (en) Method and apparatus for performing division and square root calculations in a computer
US5222037A (en) Floating-point processor for performing an arithmetic operation on fixed-point part data with high speed rounding of a result
EP0356153B1 (en) Radix-2**n divider method and apparatus using overlapped quotient bit selection and concurrent quotient rounding and correction
JPH03171324A (en) Circuit and method for calculating square root of operand
CN101650643B (en) Rounding method for indivisible floating point division radication
US4110831A (en) Method and means for tracking digit significance in arithmetic operations executed on decimal computers
US5268857A (en) Device and method for approximating the square root of a number
US4692891A (en) Coded decimal non-restoring divider
CN116594589B (en) Method, device and arithmetic logic unit for floating point number multiplication calculation
US5648924A (en) Method and apparatus for finding arctangents
JPH083813B2 (en) Divider for linear interpolator
JP2578482B2 (en) Floating point arithmetic unit
Hamada Data length independent real number representation based on double exponential cut
US3594561A (en) Decimal data-handling equipment
US3733475A (en) Digital pulse sequence divider
US3240922A (en) Serial digital electronic computer
JPH05274116A (en) Floating point arithmetic unit
JP2856791B2 (en) Barrel shifter and floating point unit
CN115812194A (en) Floating point number calculation circuit and floating point number calculation method
JPH06180640A (en) Device and method for division
JP2003029961A (en) Division method and division device
JP2508286B2 (en) Square root calculator
SU991417A2 (en) Division device
JP3105577B2 (en) Division product multiplier
JPS6226538A (en) Divider

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term