JPS62245433A - Floating point arithmetic circuit - Google Patents

Floating point arithmetic circuit

Info

Publication number
JPS62245433A
JPS62245433A JP61089751A JP8975186A JPS62245433A JP S62245433 A JPS62245433 A JP S62245433A JP 61089751 A JP61089751 A JP 61089751A JP 8975186 A JP8975186 A JP 8975186A JP S62245433 A JPS62245433 A JP S62245433A
Authority
JP
Japan
Prior art keywords
circuit
rounding
overflow
data
floating point
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.)
Pending
Application number
JP61089751A
Other languages
Japanese (ja)
Inventor
Giichi Mori
森 義一
Toshio Jiyufuku
寿福 利夫
Masao Iida
飯田 政雄
Akira Nomura
野村 彰
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP61089751A priority Critical patent/JPS62245433A/en
Publication of JPS62245433A publication Critical patent/JPS62245433A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and surely prevent an overflow from generating at a rounding circuit at the time of subtraction, by providing a rounding overflow detection circuit. CONSTITUTION:An increment circuit constituting a rounding circuit 14 is equipped with a data input terminal DIO, a data output terminal DOO, and a control signal terminal CI, and an increment operation is performed when the control signal terminal CI is at a level '0'. When all of the normalizing shifter input data 90 are at levels '1', each of AND circuits 21-1-21-N outputs '1'. Therefore, the output of an AND circuit 22 which inputs each output of the AN circuits 21-1-21-N, also goes to '1', and the output becomes the input of the control signal terminal CI of the increment circuit constituting the rounding circuit 14. For this reason, the increment operation is prohibited, and it is possible to inhibit the overflow.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ディジタル信号処理プロセッサ等における浮
動小数点演算回路、特に丸め処理時の桁あふれ(以下、
オーバフローという)を防止する浮動小数点演算回路に
関するものである。
Detailed Description of the Invention (Industrial Application Field) The present invention relates to a floating point arithmetic circuit in a digital signal processing processor, etc.
This relates to floating point arithmetic circuits that prevent overflows.

(従来の技術) ディジタル化された信号を処理するディジタル信号処理
プロセッサ等においては、ダイナミックレンジの拡大の
ために、その演算回路に浮動小数点演算回路を採用する
ものがある。
(Prior Art) Some digital signal processors and the like that process digitized signals employ floating point arithmetic circuits as their arithmetic circuits in order to expand the dynamic range.

従来、このような分野の技術としては、TRW社カタロ
グrTDc1022 J (1984) (米) P、
307−311に記載されるものがあった。以下、その
構成を図を用いて説明する。
Conventionally, technologies in this field include TRW Catalog rTDc1022 J (1984) (USA) P.
There was one described in 307-311. The configuration will be explained below using figures.

第2図は従来の浮動小数点演算回路の−、構成例を示す
ブロック図である。
FIG. 2 is a block diagram showing an example of the configuration of a conventional floating point arithmetic circuit.

一般に、ディジタル信号処理プロセッサ等で扱う浮動小
数点データは符号、指数部、仮数部の組み合わせからな
り、該仮数部は2の補数表現を採用している。そして第
2図において処理されるデータの仮数部はNビット幅で
あるとする。
Generally, floating point data handled by a digital signal processor etc. consists of a combination of a sign, an exponent part, and a mantissa part, and the mantissa part uses two's complement representation. It is assumed that the mantissa part of the data processed in FIG. 2 has a width of N bits.

第2図の浮動小数点演算回路はデータ入力端子1.2及
びデータ出力端子3を有し、該データ入力端子1,2に
は仮数部スイッチ回路4、指数部比較/減算回路5、及
びセレクタ6が接続されている。仮数部スイッチ回路4
の2出力端子のうち、一方の端子は桁合せシフタ7を介
して、算術演算と論理演算を行う算術論理演算ユニット
(以下、A団という)8に接続され、他方の端子は直接
該ALU 8に接続されている。、ALU8の出力端子
はオーバフロー補正回路9に接続され、その補正回路9
の出力端子が、セレクタ6に接続されたインクリメント
回路(増分回路)10に接続されると共に、正規化シフ
ト量検出回路11に接続されている。
The floating point arithmetic circuit shown in FIG. 2 has a data input terminal 1.2 and a data output terminal 3, and the data input terminals 1 and 2 are connected to a mantissa switch circuit 4, an exponent comparison/subtraction circuit 5, and a selector 6. is connected. Mantissa switch circuit 4
Of the two output terminals, one terminal is connected to an arithmetic and logic operation unit (hereinafter referred to as group A) 8 which performs arithmetic operations and logical operations through a digit shifter 7, and the other terminal is directly connected to the ALU 8. It is connected to the. , the output terminal of the ALU 8 is connected to an overflow correction circuit 9.
An output terminal of is connected to an increment circuit (incremental circuit) 10 connected to the selector 6, and also to a normalized shift amount detection circuit 11.

正規化シフト量検出回路11の出力端子は、インクリメ
ント回路10に接続された加算回路12に接続されると
共に、オーバフロー補正回路9に接続された正規化シフ
タ13に接続されている。また、加算回路12の出力端
子はデータ出力端子3に接続されると共に、正規化シフ
タ13の出力端子は丸め回路14を介して前記データ出
力端子3に接続されている。
The output terminal of the normalized shift amount detection circuit 11 is connected to an addition circuit 12 connected to an increment circuit 10 and also to a normalization shifter 13 connected to an overflow correction circuit 9. Further, the output terminal of the adder circuit 12 is connected to the data output terminal 3, and the output terminal of the normalization shifter 13 is connected to the data output terminal 3 via the rounding circuit 14.

次に動作について説明する。Next, the operation will be explained.

入力端子1.2より入力された入力データD1゜D2は
、その指数部が指数部比較/減算回路5及びセレクタ6
へ、その仮数部が仮数部スイッチ回路4へそれぞれ入力
される。指数部比較/減算回路5で入力データ指数部の
比較および減算が行なわれ、該結果によりセレクタ6及
び仮数部スイッチ回路4の選択が行なわれる。指数部の
小さい方の入力データD1または02は、桁合せのため
に仮数部スイッチ回路4にて仮数部データか61合せシ
フタ7へ送出され、桁合せシフトが行なわれる。桁合せ
が完了したデータ間でALU 8にて仮数部の加算、あ
るいは減算が行なわれる。このALU8による演算処理
でオーバフローが発生する場合がおるので、オーバフロ
ー補正回路9にてオーバフローの補正(スケールダウン
)が行なわれ、その結果、インクリメント回路10にて
指数部の補正を行う。
The input data D1゜D2 inputted from the input terminals 1.2 has its exponent part compared with the exponent part/subtraction circuit 5 and the selector 6.
and the mantissa parts are respectively input to the mantissa switch circuit 4. The exponent comparison/subtraction circuit 5 compares and subtracts the exponent parts of the input data, and the selector 6 and the mantissa switch circuit 4 are selected based on the results. The input data D1 or 02 having the smaller exponent part is sent by the mantissa switch circuit 4 to the mantissa data 61 matching shifter 7 for digit alignment, and is shifted for digit alignment. The ALU 8 performs addition or subtraction of mantissa parts between the data whose digits have been aligned. Since an overflow may occur in the arithmetic processing by the ALU 8, an overflow correction circuit 9 corrects the overflow (scale down), and as a result, an increment circuit 10 corrects the exponent part.

オーバフロー補正回路9の出力は正規化シフト母検出回
路11へ入力され、正規化のためのシフト量を検出する
。検出したシフ1〜量の値で仮数部に対して正規化シフ
タ13にて正規化処理が行なわれると共に、加算回路1
2にて指数部に対する補正が行なわれる。
The output of the overflow correction circuit 9 is input to a normalization shift mother detection circuit 11, which detects the shift amount for normalization. The normalization shifter 13 performs normalization processing on the mantissa part using the detected shift 1 to amount values, and the addition circuit 1
In step 2, the exponent part is corrected.

このように浮動小数点演算回路では桁合せ、オーバフロ
ー補正が行なわれるが、この処理により仮数部の精度が
劣化するのを防ぐため、該仮数部は演算回路内部では入
力データDI、 D2の仮数部の幅Nヒツトが拡張され
、(N+1)ビット以上の値をとるのが普通である。し
かし、出力端子3から演算結果をとり出す際には、仮数
部を再びNビットとする必要があるため、内部での仮数
部(N+1)ビットをNビットへ丸めるか、または切り
捨てを行うかのいずれかの方法をとる必要がある。
As described above, digit alignment and overflow correction are performed in the floating-point arithmetic circuit, but in order to prevent the precision of the mantissa from deteriorating due to this process, the mantissa is internally divided into the mantissa parts of the input data DI and D2. It is common for the width N hits to be expanded to take a value of (N+1) bits or more. However, when taking out the operation result from the output terminal 3, it is necessary to make the mantissa part N bits again. You need to use one of the methods.

ディジタル信号処理の場合、切り捨て処理はノイズの要
因であり、好ましくなく、通例丸め回路14を設け、仮
数部データの上位桁から(N→1)ビット目に強制的に
1を加えることにより、丸め処理を行なう。
In the case of digital signal processing, truncation processing is a cause of noise and is not desirable; therefore, a rounding circuit 14 is usually provided, and rounding is performed by forcibly adding 1 to the (N→1)th bit from the upper digit of the mantissa data. Process.

(発明が解決しようとする問題点) しかしながら、上記構成の回路では、次のような問題点
があった。
(Problems to be Solved by the Invention) However, the circuit with the above configuration has the following problems.

第3図の丸めオーバフローの説明図に示すように、同一
指数部をとるデータで、仮数部の正の最大値から負の最
大値を減算するような場合、丸め回路14でオーバフロ
ーを発生し、無意味なデータを出力する場合がある。そ
こで、従来の浮動小数点演算回路では、減算実行時に丸
め処理を禁止する必要があった。そのため、丸め処理を
禁止するための余分な操作が必要となるばかりか、減緯
時の丸め処理ができないという問題点があった。
As shown in the explanatory diagram of rounding overflow in FIG. 3, when the maximum negative value is subtracted from the maximum positive value of the mantissa for data that has the same exponent part, an overflow occurs in the rounding circuit 14. It may output meaningless data. Therefore, in conventional floating point arithmetic circuits, it is necessary to inhibit rounding when performing subtraction. Therefore, there is a problem that not only an extra operation is required to prohibit the rounding process, but also the rounding process cannot be performed when the latitude is decreased.

本発明は前記従来技術が持っていた問題点として、減算
実行時に丸め処理ができない点について解決した浮動小
数点演算回路を提供するものである。
The present invention provides a floating point arithmetic circuit which solves the problem of the prior art, which is that rounding cannot be performed when performing subtraction.

(問題点を解決するための手段) 本発明は前記問題点を解決するために、Nビット仮数部
に2の補数表現をとる浮動小数点データを、仮数部(N
+1)ビット以上の表現で演算処理を行なう回路と、こ
の回路による演算結果の出)3時に前記仮数部をNビッ
トに丸める丸め回路とを備えた浮動小数点演算回路にお
いて、前記回路による演算結果に基づき前記丸め回路に
おいて発生するオーバフローを予め検出して前記丸め回
路の丸め処理を禁止する丸めオーバフロー検出回路を、
8堪ブたものである。
(Means for Solving the Problem) In order to solve the above problem, the present invention converts floating point data whose N-bit mantissa is represented by two's complement into a mantissa (N
+1) In a floating point arithmetic circuit that is equipped with a circuit that performs arithmetic processing in terms of bits or more, and a rounding circuit that rounds the mantissa part to N bits at 3 o'clock, the result of the arithmetic operation by the circuit is a rounding overflow detection circuit that detects in advance an overflow occurring in the rounding circuit based on the above and inhibits rounding processing of the rounding circuit;
8 It was worth it.

(作 用) 本発明によれば、以上のように浮動小数点演算回路を構
成したので、丸めオーバフロー検出回路は、丸め回路に
おいて発生するオーバフローを予め検出し、その検出結
束により該丸め回路の丸め処理を禁止するように動く。
(Function) According to the present invention, since the floating point arithmetic circuit is configured as described above, the rounding overflow detection circuit detects in advance an overflow that occurs in the rounding circuit, and uses the detection binding to perform the rounding process of the rounding circuit. move to ban it.

これにより丸め回路に発生するオーバフローの防止が計
れる。従って前記問題点を除去できるのである。
This prevents overflow from occurring in the rounding circuit. Therefore, the above-mentioned problem can be eliminated.

(実施例) 第1図は本発明の一実施例を示す浮動小数点演算回路の
構成ブロック図であり、従来の第2図中の要素と同一の
要素には同一の符号が付されている。
(Embodiment) FIG. 1 is a configuration block diagram of a floating point arithmetic circuit showing an embodiment of the present invention, and the same elements as the conventional elements in FIG. 2 are given the same reference numerals.

この浮動小数点演算回路が従来の第2図と異なる点は、
オーバフロー補正回路9の出力端子と丸め回路14の入
力端子との間に、丸めオーバフロー検出回路20を設け
たことである。丸めオーバフロー検出回路20は、オー
バフロー補正回路9の出力データに阜づき、丸め回路1
4で発生するオーバフローを予め検出して該丸め回路1
4の丸め処理を禁IFする回路である。
The difference between this floating point arithmetic circuit and the conventional one shown in Figure 2 is that
A rounding overflow detection circuit 20 is provided between the output terminal of the overflow correction circuit 9 and the input terminal of the rounding circuit 14. Based on the output data of the overflow correction circuit 9, the rounding overflow detection circuit 20 detects the rounding circuit 1.
The rounding circuit 1 detects in advance the overflow that occurs in the rounding circuit 1.
This is a circuit that prohibits rounding of 4.

以上のように構成される浮動小数点演算回路の動作を説
明する。
The operation of the floating point arithmetic circuit configured as described above will be explained.

浮動小数点演算では、従来と同様に、入力データDI、
 D2の仮数部をALU 8で加算または減算し、その
結果を正規化シフタ13で正規化シフトし、丸め回路1
4で所定の丸め処理をして仮数部の演算結果をデータ出
力端子3から出力すると共に、加算回路12等で処理し
た指数部の演算結果を同じくデータ出力端子3から出力
する。
In floating point arithmetic, as in the past, input data DI,
The mantissa part of D2 is added or subtracted by ALU 8, the result is normalized and shifted by normalization shifter 13, and rounding circuit 1
4, a predetermined rounding process is performed and the calculation result of the mantissa part is outputted from the data output terminal 3, and the calculation result of the exponent part processed by the adder circuit 12 etc. is also outputted from the data output terminal 3.

次に、前記の演算実行時において、入力データDI、 
D2の仮数部はNヒツト、該演算回路内部では(N+1
)ビットの幅をとるものと仮定し、従来動作と異なる点
を説明する。
Next, when executing the above calculation, the input data DI,
The mantissa part of D2 is N hits, and inside the arithmetic circuit it is (N+1
) The difference from the conventional operation will be explained, assuming that the width of the bit is taken.

ALU aの入力データがNビットであると、該ALU
8の出力はオーバフローを防ぐため、(N+1)ビット
となる。この後、オーバフロー補正回路9でオーバフロ
ー補正を行うが、このとき切り捨てを防ぐため、補正後
も(N+1)ビットである。
If the input data of ALU a is N bits, the ALU
The output of 8 becomes (N+1) bits to prevent overflow. Thereafter, the overflow correction circuit 9 performs overflow correction, but in order to prevent truncation at this time, the number of bits remains (N+1) even after correction.

この結果に対し、正規化シフト量検出回路11及び正規
化シフタ13で正規化処理、さらに丸め回路14で丸め
処理が行なわれるが、この際には符号ビットが不必要で
あるため、(N+1 >ビット中下位Nビットに対して
それらの処理が行なわれる。その結果、丸め回路14に
対する入力もNビット幅のデータとなる。丸め回路14
は、例えばNビットデータの[S8(最下位ビット)に
1を加えるインクリメント回路で実現されるので、この
丸め回路14でオーバフローか発生するのは、該丸め回
路14の入力データビットが総て“1゛′の値をとるパ
ターンのみである。丸め回路14の入力は正規化シフタ
13からの出力であるが、正規化シフタ13でシフトが
行なわれた場合にはLSB側から“Oatが入るため、
該丸め回路14にオール(全部)1のパターンが入力さ
れるということは正規化シフタ13でシフトが行なわれ
ない場合のみということになる。
This result is subjected to normalization processing by the normalization shift amount detection circuit 11 and normalization shifter 13, and further rounding processing is performed by the rounding circuit 14. At this time, since the sign bit is unnecessary, (N+1 > These processes are performed on the lower N bits of the bits.As a result, the input to the rounding circuit 14 also becomes data with a width of N bits.Rounding circuit 14
is realized, for example, by an increment circuit that adds 1 to [S8 (least significant bit) of N-bit data. Therefore, an overflow occurs in this rounding circuit 14 because all the input data bits of the rounding circuit 14 are " There is only a pattern that takes a value of 1''.The input of the rounding circuit 14 is the output from the normalization shifter 13, but when the normalization shifter 13 performs a shift, "Oat" is input from the LSB side. ,
An all-1 pattern is input to the rounding circuit 14 only when the normalization shifter 13 does not perform any shifting.

しかも、正規化入力データがオール“1パのパターンを
とるのは、正のデータの場合のみである。
Moreover, the normalized input data takes an all-one pattern only in the case of positive data.

これは、負のデータの場合、(N+1)がオール゛1°
゛となるパターンは存在しないからである。
This means that (N+1) is all 1° for negative data.
This is because there is no such pattern.

正のデータの場合、オール゛1パのパターンであるから
、正規化データであり、正規化シフタ13による正規化
シフトは行なわれない。そのため、正規化シフタ13の
入力データがオール“1′′をとるか否かによって丸め
回路14でオーバフローが発生するか否か、を判断する
ことで、オーバフローが発生する場合の防止策をとるこ
とができる。
In the case of positive data, since it is an all-one pattern, it is normalized data, and normalization shift by the normalization shifter 13 is not performed. Therefore, by determining whether an overflow will occur in the rounding circuit 14 depending on whether or not the input data of the normalization shifter 13 takes all "1" values, measures can be taken to prevent an overflow from occurring. I can do it.

そこで、正規化シフタ13の入力データを丸めオーバフ
ロー検出回路20に入力することにより、正規化シフタ
13の入力データかオール゛1°゛の値をとるか否かを
検出する。このときオール”1゛′を検出したならば、
丸めオーバフローとして丸め回路14をディスエーブル
にし、丸め処理を禁止する。
Therefore, by inputting the input data of the normalization shifter 13 to the rounding overflow detection circuit 20, it is detected whether the input data of the normalization shifter 13 takes all values of 1°. At this time, if all "1" is detected,
As a rounding overflow, the rounding circuit 14 is disabled and rounding is prohibited.

第4図は第1図における丸め回路14及び丸めオーバフ
ロー検出回路20の回路構成例を示す図である。第4図
では、丸め回路14かインクリメント回路で構成される
と共に、丸めオーバフロー検出回路20i14人力AN
D  (論理積)回路21−1〜21−N、 22て構
成されている。なお、第4図中、90は正規化シフタ入
力データ、130は丸め回路入力、140は丸め回路出
力である。
FIG. 4 is a diagram showing an example of the circuit configuration of the rounding circuit 14 and the rounding overflow detection circuit 20 in FIG. 1. In FIG. 4, it is composed of a rounding circuit 14 or an increment circuit, and a rounding overflow detection circuit 20i14 manually operated AN
D (logical product) circuits 21-1 to 21-N, 22 are configured. In FIG. 4, 90 is normalized shifter input data, 130 is a rounding circuit input, and 140 is a rounding circuit output.

以上の構成において、丸め回路14を構成するインクリ
メント回路ではデータ入力端子DIO、データ出力端子
000 、及び制御信号端子σTを有し、制御信号端子
σ丁が“01ルベルのとき、インリフメン[・動作か行
なわれる。正規化シック入力データ90が総て“1゛の
レベルにあると、各AND回路21−1〜21−Nは“
1゛を出力する。よって各々のAND回路21−1〜2
1−jすの出力を入力するAND回路22の出力も“1
″となり、該出力は丸め回路14を構成するインクリメ
ント回路の制御像@端子σ了の入力となる。そのため、
インクリメン1−動作は禁止され、オーバフローを制止
することができる。
In the above configuration, the increment circuit constituting the rounding circuit 14 has a data input terminal DIO, a data output terminal 000, and a control signal terminal σT. When all the normalized thick input data 90 are at the level "1", each AND circuit 21-1 to 21-N is "1".
Outputs 1゛. Therefore, each AND circuit 21-1 to 21-2
The output of the AND circuit 22 which inputs the output of 1-j is also "1".
'', and the output becomes the input of the control image @terminal σ of the increment circuit constituting the rounding circuit 14. Therefore,
Increment 1-operation is inhibited to prevent overflow.

本実施例の利点は、次のようである。The advantages of this embodiment are as follows.

(1)従来の浮動小数点演算回路では、丸めオーバフロ
ーの不安から減算時に丸め処理を行うことができなかっ
たが、本実施例では丸めオーバフローの不安を解消した
ので、減算時においても丸め処理を行うことかできる。
(1) In conventional floating-point arithmetic circuits, rounding could not be performed during subtraction due to concerns about rounding overflow, but in this embodiment, the concern about rounding overflow has been resolved, so rounding can be performed during subtraction as well. I can do it.

(2)オーバフローの検出はAND回路21−1〜21
−N。
(2) Overflow detection is performed by AND circuits 21-1 to 21
-N.

22の接続のみという簡単な回路で実現できる。This can be realized using a simple circuit with only 22 connections.

(3)オーバフローの、検出は、正規化シフトと並行し
て行なえるので当該浮動事故点演算回路l\の遅延の影
響を除くことができる。
(3) Since overflow detection can be performed in parallel with the normalization shift, the influence of the delay of the floating fault point arithmetic circuit l\ can be removed.

なお、本発明では、浮動小数点演算回路の全体構成、ざ
らには丸め回路14及び丸めオーバフロー検出回路20
の回路構成を図示以外の構成に、種々の変形が可能であ
る。
In addition, in the present invention, the overall configuration of the floating point arithmetic circuit, roughly speaking, the rounding circuit 14 and the rounding overflow detection circuit 20
It is possible to make various modifications to the circuit configuration other than that shown in the drawings.

(琵明の効果) 以上詳細に説明したように、本発明によれば、丸めオー
バフロー検出回路20を設けたので、減算時における丸
め回路で発生するオーバフローを簡易的確に防止するこ
とができる。
(Effect of Bimei) As described above in detail, according to the present invention, since the rounding overflow detection circuit 20 is provided, overflow occurring in the rounding circuit during subtraction can be easily and accurately prevented.

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

第1図は本発明の一実施例を示す浮動小数点演算回路の
構成ブロック図、第2図は従来の浮動小数点演算回路の
構成ブロック図、第3図は第2図における丸めオーバフ
ローの説明図、第4図は第1図中の丸め回路及び丸めオ
ーバフロー検出回路の構成例を示す図である。 8・・・・・・ALU 、 13・・・・・・正規化シ
フタ、14・・・・・・丸め回路、20・・・・・・丸
めオーバフロー検出回路。
FIG. 1 is a configuration block diagram of a floating point arithmetic circuit showing an embodiment of the present invention, FIG. 2 is a configuration block diagram of a conventional floating point arithmetic circuit, and FIG. 3 is an explanatory diagram of rounding overflow in FIG. 2. FIG. 4 is a diagram showing an example of the configuration of the rounding circuit and rounding overflow detection circuit in FIG. 1. 8...ALU, 13...Normalization shifter, 14...Rounding circuit, 20...Rounding overflow detection circuit.

Claims (1)

【特許請求の範囲】[Claims] Nビット仮数部に2の補数表現をとる浮動小数点データ
を、仮数部(N+1)ビット以上の表現で演算処理を行
なう回路と、この回路による演算結果の出力時に前記仮
数部をNビットに丸める丸め回路とを備えた浮動小数点
演算回路において、前記回路による演算結果に基づき前
記丸め回路において発生する桁あふれを予め検出して前
記丸め回路の丸め処理を禁止する丸めオーバフロー検出
回路を、設けたことを特徴とする浮動小数点演算回路。
A circuit that performs arithmetic processing on floating point data whose N-bit mantissa is represented as a two's complement number by representing the mantissa with (N+1) bits or more, and a rounding circuit that rounds the mantissa to N bits when outputting the result of the operation by this circuit. A floating point arithmetic circuit comprising: a rounding overflow detection circuit that detects in advance overflow occurring in the rounding circuit based on the calculation results of the circuit and prohibits rounding processing in the rounding circuit. Features a floating point arithmetic circuit.
JP61089751A 1986-04-18 1986-04-18 Floating point arithmetic circuit Pending JPS62245433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61089751A JPS62245433A (en) 1986-04-18 1986-04-18 Floating point arithmetic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61089751A JPS62245433A (en) 1986-04-18 1986-04-18 Floating point arithmetic circuit

Publications (1)

Publication Number Publication Date
JPS62245433A true JPS62245433A (en) 1987-10-26

Family

ID=13979446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61089751A Pending JPS62245433A (en) 1986-04-18 1986-04-18 Floating point arithmetic circuit

Country Status (1)

Country Link
JP (1) JPS62245433A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01245328A (en) * 1988-03-28 1989-09-29 Matsushita Electric Ind Co Ltd Floating-point normalization rounding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01245328A (en) * 1988-03-28 1989-09-29 Matsushita Electric Ind Co Ltd Floating-point normalization rounding device

Similar Documents

Publication Publication Date Title
JP3076046B2 (en) Exception detection circuit
EP0973089B1 (en) Method and apparatus for computing floating point data
EP0208939A2 (en) Arithmetic circuit for calculating absolute difference values
JPS62226226A (en) Rounding and normalizing circuit for floating point
EP0483864A2 (en) Hardware arrangement for floating-point addition and subtraction
EP0381403B1 (en) Pipelined floating point adder for digital computer
US5111421A (en) System for performing addition and subtraction of signed magnitude floating point binary numbers
JPH07182141A (en) Arithmetic unit/method
KR20060057574A (en) Arithmetic unit for addition or subtraction with preliminary saturation detection
JPS62191926A (en) Arithmetic unit
JPS62245433A (en) Floating point arithmetic circuit
US5754458A (en) Trailing bit anticipator
JP2919386B2 (en) Floating-point detector and floating-point detector
JPH0511980A (en) Overflow detecting method and circuit
US7003540B2 (en) Floating point multiplier for delimited operands
US5408427A (en) Detection of exponent underflow and overflow in a floating point adder
JPS63113629A (en) Arithmetic system
JP3187402B2 (en) Floating point data addition / subtraction circuit
EP0174048A1 (en) Digital root extraction circuit
JP2723707B2 (en) Normalization circuit
JP3137131B2 (en) Floating point multiplier and multiplication method
JP3124286B2 (en) Floating point arithmetic unit
JP2792998B2 (en) Type conversion device using addition / subtraction circuit
JPH03100722A (en) Processing system for accuracy conversion instruction
US5948049A (en) Normalization circuitry