DE1549454C3 - Calculating machine with a rounding device and a display device - Google Patents

Calculating machine with a rounding device and a display device

Info

Publication number
DE1549454C3
DE1549454C3 DE19671549454 DE1549454A DE1549454C3 DE 1549454 C3 DE1549454 C3 DE 1549454C3 DE 19671549454 DE19671549454 DE 19671549454 DE 1549454 A DE1549454 A DE 1549454A DE 1549454 C3 DE1549454 C3 DE 1549454C3
Authority
DE
Germany
Prior art keywords
digit
stored
displayed
memory
rounding
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
Application number
DE19671549454
Other languages
German (de)
Inventor
Joseph A. Palo Alto Calif. Lukes (V-StA.)
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.)
HP Inc
Original Assignee
Hewlett Packard Co
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 Hewlett Packard Co filed Critical Hewlett Packard Co
Application granted granted Critical
Publication of DE1549454C3 publication Critical patent/DE1549454C3/en
Expired legal-status Critical Current

Links

Description

Die vorliegende Erfindung betrifft eine Rechenmaschine gemäß dem Oberbegriff des Anspruch 1.The present invention relates to a calculating machine according to the preamble of claim 1.

Es ist bekannt, in Rechenmaschinen Rundungseinrichtungen vorzusehen, die vorgegebene Zahlen auf eine bestimmte Stellenzahl begrenzen, z. B. wenn diese Zahl angezeigt werden soll und die Anzeige nur eine begrenzte Stellenzahl hat. Solche Rechenmaschinen haben den Nachteil, daß bei einer Rundung von Zwischenergebnissen diese nur in gerundeter Form weiterverarbeitet werden können, was sich selbstverständlich negativ auf die Rechengenauigkeit auswirkt.It is known to provide rounding devices in calculating machines that contain predetermined numbers limit a certain number of digits, e.g. B. if this number should be displayed and the display only one has a limited number of digits. Such calculating machines have the disadvantage that when Intermediate results these can only be processed further in rounded form, which is self-evident has a negative effect on the calculation accuracy.

Der vorliegenden Erfindung liegt die Aufgabe zugrunde, eine Rechenmaschine der eingangs genannten Art zu schaffen, die eine gerundete Anzeige eines Zwischenergebnisses ermöglicht, ohne daß die Genauigkeit der Weiterverarbeitung des Zwischenergebnisses beeinträchtigt wird. Die Lösung dieser Aufgabe ist im Anspruch 1 gekennzeichnet.The present invention is based on the object of providing a calculating machine of the type mentioned at the beginning To create a way that allows a rounded display of an intermediate result without compromising the accuracy the further processing of the interim result is impaired. The solution to this problem is characterized in claim 1.

Erfindungsgemäß ist also ein Zwischenergebnis, dessen Stellenzahl die Stellenzahl der Anzeigevorrichtung übersteigt, zwar gerundet anzeigbar, wird aber mit der vollen Genauigkeit weiterverarbeitet. Dadurch werden vor allem bei längeren Rechnungen mit vielen Zwischenergebnissen größere Rechenfehler vermieden, während die gerundete Anzeige der Zwischenergebnisse normalerweise völlig ausreichend ist.According to the invention, there is an intermediate result, the number of digits of which is the number of digits of the display device exceeds, can be displayed rounded, but is further processed with full accuracy. Through this Larger calculation errors are avoided, especially in the case of longer calculations with many intermediate results, while the rounded display of the intermediate results is usually completely sufficient.

Vorzugsweise ist die Zahl im Zwischenergebnisspeicher mit gleitendem Komma gespeichert und durch die Anzeigevorrichtung gerundet mit festem Komma anzeigbar. Dadurch wird der Tatsache Rechnung getragen, daß die interne Verarbeitung von Zahlen mit gleitendem Komma im allgemeinen zweckmäßiger ist, während eine Anzeige mit Festkomma-Darstellung im allgemeinen anschaulicher als eine Anzeige mit Gleitkomma-Darstellung ist.The number is preferably stored in the intermediate result memory with a floating point and Can be displayed rounded by the display device with a fixed comma. This takes the fact into account That the internal processing of numbers with floating decimal points is generally more useful is, while a fixed-point display is generally more descriptive than a Display with floating point representation is.

Die Erfindung wird an Hand der Zeichnung näher erläutert, es zeigtThe invention is explained in more detail with reference to the drawing, it shows

Fig. 1 ein Blockschaltbild eines Ausführungsbeispieles der Erfindung undFig. 1 is a block diagram of an embodiment of the invention and

Fig. 2 ein Flußdiagramm, an Hand dessen die Arbeitsweise und Funktionsfolge der in Fig. 1 dargestellten Einrichtung erläutert wird.FIG. 2 is a flow chart showing the mode of operation and the sequence of functions of the one shown in FIG Facility is explained.

Die in Fig. 1 dargestellte Einrichtung enthält einenThe device shown in Fig. 1 includes a

Speicher 10, in dem Zahlen in binärcodierter Dezimalform mit gleitendem Komma speicherbar sind. Die Zahl —12,34098765 wird im Speicher also in der folgenden FormMemory 10, in which numbers can be stored in binary-coded decimal form with floating decimal points. the So number —12,34098765 is stored in memory in the following form

-1,234098765+1-1.234098765 + 1

gespeichert. Die Dezimalziffern 0, 1 ... 9 werden im Speicher dabei als aus vier Bits bestehende Binärzahlen, nämlich 0000, 0001 ... 1001 gespeichert. Das Vorzeichen der Mantisse und des Exponenten werden jeweils durch ein fünftes Bit dargestellt, das der aus viersaved. The decimal digits 0, 1 ... 9 are stored in the memory as binary numbers consisting of four bits, namely 0000, 0001 ... 1001 are stored. The sign of the mantissa and the exponent will be each represented by a fifth bit, that of the four

ao Bits bestehenden Binärzahl hinzugefügt ist, welche die erste Stelle der Mantisse bzw, des Exponenten angibt. Wenn also im folgenden von einer Ziffer gesprochen wird, so soll hierunter sowohl ihr Absolutwert als auch ihr Vorzeichen, soweit ihr ein solches zugeordnet ist,ao bits are added to existing binary number, which is the first digit of the mantissa or the exponent. So if in the following a digit is spoken of is, both its absolute value and its sign, insofar as it is assigned to it, should be included,

»5 verstanden werden.»5 be understood.

Der Speicher 10 kann zum Speicherwerk einer digitalen Rechenanlage gehören und besteht gewöhnlich aus einer Magnetkernmatrix mit einer Anzahl von Wortebenen, die jeweils eine Gruppe von Zeichenleitungen umfaßt. Die mit gleitendem Komma dargestellte Zahl —1,234098765 +1 wird in einer selektierten Wortebene gespeichert, indem die einzelnen Ziffern der Mantisse und des Exponenten längs verschiedener Zeichenleitungen der Wortebene gespeichert werden.The memory 10 can belong to the storage unit of a digital computer system and usually consists from a magnetic core matrix with a number of word planes, each a group of character lines includes. The number shown with a floating point - 1.234098765 +1 is selected in a Word level stored by putting the individual digits of the mantissa and the exponent along different Word level character lines are stored.

Den Zeichenleitungen der selektierten Wortebene sind ebenso wie denen der anderen Wortebene binäre Adressen zugeordnet, die ganz allgemein folgendermaßen bezeichnet werden sollen:The character lines of the selected word level, like those of the other word level, are binary Addresses assigned that should be generally designated as follows:

-1, 2 3 4 0 9 8 7 6 5 +1 M9MgAf7Af6Af5Af4Af3Af2Af1Af0 E0 -1, 2 3 4 0 9 8 7 6 5 +1 M 9 MgAf 7 Af 6 Af 5 Af 4 Af 3 Af 2 Af 1 Af 0 E 0

Der Index von M gibt dabei jeweils die Adresse derThe index of M gives the address of the

Zeichenleitung an, in dem die darüberstehende Man-. tissenziffer gespeichert ist, während der Index von E die Adresse der Zeichenleitung angibt, in der die entsprechende Exponentenziffer gespeichert ist. Die Indizes von M und E geben außerdem die Stellen an, wo die zugehörigen Mantissen- und Exponentenziffern dargestellt oder angezeigt werden.Sign line in which the man-. tissue digit is stored, while the index of E indicates the address of the character line in which the corresponding exponent digit is stored. The indices of M and E also indicate the places where the associated mantissa and exponent digits are represented or displayed.

Mit dem Speicher 10 ist ein Pufferregister 12 gekoppelt, in dem eine Ziffer der anzuzeigenden Zahl gespeichert werden kann, ohne daß dadurch diese Ziffer im Speicher 10 geändert wird. Das Pufferregister 12 kann jeweils nur eine Ziffer aufnehmen, so daßA buffer register 12 is coupled to the memory 10, in which a digit of the number to be displayed can be stored without this Digit in memory 10 is changed. The buffer register 12 can only hold one digit at a time, so that

beim Einspeichern einer Ziffer in das Pufferregister eine etwa vorher in diesem Register gespeicherte Ziffer automatisch gelöscht wird. Mit dem Pufferregister 12 ist eine Anzeigevorrichtung, z. B. eine Kathodenstrahl-Anzeigeröhre 13 gekoppelt, die beispielsweise 13 An-when storing a digit in the buffer register, a digit previously stored in this register is automatically deleted. With the buffer register 12 is a display device, e.g. B. a cathode ray display tube 13 coupled, for example 13

zeigestellen hat (10 Stellen für die Mantisse, eine für den Exponenten und je eine für das Vorzeichen der Mantisse und des Exponenten). Die im Pufferregister nacheinander gespeicherten Ziffern werden auf dem Bildschirm der Anzeigeröhre 13 wiedergegeben. Für die folgende Erläuterung soll angenommen werden, daß im Speicher 10 die Zahl -1,234098765 +1 in der Darstellung mit gleitendem Komma gespeichert ist und mit festem Komma auf vier Stellen nach dem ■display places (10 places for the mantissa, one for the exponent and one each for the sign of the mantissa and the exponent). The ones in the buffer register digits stored one after the other are displayed on the screen of the display tube 13. For the following explanation it should be assumed that the number -1.234098765 +1 is saved in the representation with a floating comma and with a fixed comma to four places after the ■

Komma abgerundet angezeigt werden soll. Nach Einleitung, des Anzeigevorganges wird als erstes die Zeichenleitung des Speichers 10 adressiert, in der die niedrigste Stelle des Exponenten, also hier +1 gespeichert ist und die gespeicherte Ziffer wird in das Pufferregister 12 eingespeichert, ohne dabei die Speicherung im Speicher 10 zu ändern. Bei diesem Schritt wird die betreffende Zeichenleitung einer selektierten Wortebene des Speichers 10 durch eine Adressenwahlstufe 14 selektiert. Die in der selektierten Zeichenleitung gespeicherte Ziffer wird durch eine zerstörungsfrei arbeitende Transferstufe 16, die mit dem Speicher 10 gekoppelt ist, in das Pufferregister 12 eingespeichert, ohne dabei die Ziffer im Speicher 10 zu ändern oder zu löschen. Weiterhin wird bei diesem Schritt die Adressenwahlstufe 14 durch eine Adressensteuerschaltung 18 so gesteuert, daß sie die Wortebene im Speicher 10, in der die darzustellende Zahl -1,234098765 +1 gespeichert ist, sowie die Zeichenleitung in dieser Wortebene adressiert, in der die Ziffer der nierdigsten ao (und bei dem erwähnten Beispiel auch der höchsten, da einzigen) Stelle des Exponenten, nämlich +1, gespeichert ist. Die Adressensteuerstufe ist außerdem mit der Transferstufe 16 gekoppelt und veranlaßt diese, die Ziffer der niedrigsten Stelle des Exponenten von as der selektierten Zeichenleitung des Speichers 10 in das Pufferregister 12 einzuspeichern. Die Adressensteuerstufe ist ihrerseits mit einem Leitwerk 20, das irgendeine digitale Steuereinheit sein kann, gekoppelt, das den beschriebenen Operationsschritt einleitet, bei dem die niedrigste Stelle des Exponenten im Pufferregister 12 gespeichert wird. Das Leitwerk 20 ist außerdem mit einer Reihe weiterer, noch zu beschreibender Stufen der Einrichtung verbunden um diese im Verlaufe der Anzeigeoperation in der richtigen Reihenfolge zu steuern.Rounded commas should be displayed. After introduction, of the display process, the The character line of the memory 10 is addressed, in which the lowest digit of the exponent, i.e. here +1, is stored is and the stored digit is stored in the buffer register 12 without saving to change in memory 10. In this step the relevant character line becomes a selected one Word level of the memory 10 is selected by an address selection stage 14. The ones in the selected line The stored digit is transferred to a non-destructive transfer stage 16, which is connected to the memory 10 is coupled, stored in the buffer register 12 without changing the digit in the memory 10 or to delete. Furthermore, in this step, the address selection section 14 is controlled by an address control circuit 18 controlled so that they the word level in memory 10, in which the number to be displayed -1.234098765 +1 is stored, and the character line is addressed in this word level in which the digit of the lowest ao (and in the example mentioned also the highest, there only) place of the exponent, namely +1 is. The address control stage is also coupled to the transfer stage 16 and causes this to the digit of the lowest digit of the exponent of as of the selected character line of the memory 10 to be stored in the buffer register 12. The address control stage is in turn coupled to a control unit 20, which can be any digital control unit, the initiates the operation step described, in which the lowest digit of the exponent in the buffer register 12 is saved. The tail 20 is also provided with a number of other stages to be described connected to the device in order to assign them in the correct order in the course of the display operation steer.

Nicht alle Zahlen, die in der Darstellung mit gleitendem Komma im Speicher 10 gespeichert sind, können in der Darstellung mit festem Komma angezeigt werden, selbst wenn sie bis zu einer bestimmten Stelle hinter dem Komma gerundet werden. Der nächste Schritt bei der Anzeigeoperation besteht daher darin, festzustellen, ob die Darstellung mit festem Komma erfolgen soll und wenn ja, ob die anzuzeigende Zahl mit festem Komma innerhalb von Genauigkeitsgrenzen erfolgen *5 kann, die dadurch gegeben sind, daß nur Ziffern nach dem Komma gerundet werden sollen, oder ob die Ziffer mit gleitendem Komma dargestellt werden muß, da sie vor dem Komma mehr zählende Stellen enthält als angezeigt werden können. Zur Durchführung dieses Verfahrensschrittes dient eine Steuerschaltung 22, die mit dem Speicher 10 gekoppelt ist und die die Entscheidung trifft, ob die Anzeige mit festem Komma oder mit gleitendem Komma durchzuführen ist. Da angenommen worden war, daß die Zahl —1,234098765 +1 in der Darstellung mit festem Komma angezeigt werden soll, wird ein mechanischer Kommastellungsschalter 24 auf die Anzahl von Stellen, die nach dem Komma noch angezeigt werden sollen (im vorliegenden Falle also vier) eingestellt. Ferner wird ein Kommaschalter 26 in die Stellung »festes Komma« eingestellt, in der das Leitwerk 20 über eine Überlauf-Stufe 30 mit einem Steuerdecoder 28 verbunden ist. Die Überlauf-Stufe 30 spricht auf die Ziffer der niedrigsten Stelle des Exponenten im Pufferregister 12 und die durch den Komma- 6s Stellungsschalter 24 eingestellte Stellenzahl nach dem Komma an und verhindert das Einstellen des Kommaschalters 26 in die Stellung »festes Komma«, wenn die anzuzeigende Zahl nicht mit festem Komma angezeigt werden kann, da sie mehr Ziffern vor dem Komma umfaßt als angezeigt werden können. Das Leitwerk 20 ist mit der Adressensteuerstufe 18 und der die Kathodenstrahlröhre enthaltenden Anzeigevorrichtung 13 verbunden um die gewünschte Zahl mit gleitendem Komma anzeigen zu können, wenn der Kommaschalter 26 nicht betätigt ist. Bei der Betriebsart »gleitendes Komma« werden.dann, aus dem .Operationsfolgediagramm der.Figl 2 entnommen werden kann,'die verschiedenen Ziffern der mit gleitendem Komma dargestellten Zahl von der niedrigsten Stelle des Exponenten bis zur höchsten Stelle.der Mantisse,nacheinander im Pufferregister 12 gespeichert und während der Speicherung im Puff er register auf dem Bildschirm der Kathodenstrahlröhre der Anzeigevorrichtung 13 angezeigt.Not all numbers that are stored in the memory 10 in the representation with a floating point can be displayed in the representation with a fixed point, even if they are rounded to a certain point after the decimal point. The next step in the display operation is therefore to determine whether it should be displayed with a fixed comma and, if so, whether the number to be displayed can be displayed with a fixed comma within the accuracy limits * 5, which are given by the fact that only digits after the comma should be rounded, or whether the number must be displayed with a floating comma, as it contains more counting digits in front of the decimal point than can be displayed. A control circuit 22, which is coupled to the memory 10 and which decides whether the display is to be carried out with a fixed comma or with a floating comma, is used to carry out this method step. Since it was assumed that the number -1.234098765 +1 should be displayed in the representation with a fixed comma, a mechanical decimal point switch 24 is set to the number of places that should still be displayed after the decimal point (in this case four) set. Furthermore, a comma switch 26 is set to the “fixed comma” position, in which the tail unit 20 is connected to a control decoder 28 via an overflow stage 30. The overflow stage 30 responds to the digit of the lowest digit of the exponent in the buffer register 12 and the wheel 6 by the comma-position switch 24 set number of digits after the decimal point and prevents the setting of the point switch 26 in the position of "fixed point" if the to be displayed Number cannot be displayed with a fixed comma because it contains more digits before the comma than can be displayed. The control unit 20 is connected to the address control stage 18 and the display device 13 containing the cathode ray tube in order to be able to display the desired number with a floating point when the point switch 26 is not actuated. In the "floating decimal point" operating mode, the various digits of the number represented by the floating decimal point from the lowest position of the exponent to the highest position of the mantissa, one after the other in the buffer register, can be seen from the "operational sequence diagram" in Fig. 2 12 stored and displayed on the screen of the cathode ray tube of the display device 13 during the storage in the buffer.

Wenn durch die Anzeigevorrichtung 13 auch Zahlen in der Darstellung mit gleitendem Komma gespeichert und dargestellt werden sollen, die mehrstellige Exponenten beliebigen Vorzeichens umfassen, muß der beschriebene Anzeigeprozeß geändert werden, da diese mit gleitendem Komma dargestellten Zahlen nicht mit festem Komma wiedergegeben. werden können und daher mit gleitendem Komma angezeigt werden müssen. Die Ziffer der höchsten Stelle des mehrstelligen Exponenten wird dann vor der niedrigsten Stelle des Exponenten im Pufferregister 12 gespeichert und die Überlauf-Stufe 30 spricht dann auf diese "gespeicherte Ziffer der höchsten Stelle des Exponenten an, wenn sie von 0 verschieden ist und verhindert eine anschließende Betätigung des Kommaschalters 26 während der Wiedergabe der Zahl in der Darstellung mit gleitendem Komma. . ."'.. .....:..':■ If the display device 13 also stores and displays numbers in the representation with a floating decimal point, which include multi-digit exponents of any sign, the display process described must be changed, since these numbers displayed with a floating decimal point are not displayed with a fixed decimal point. and must therefore be displayed with a floating comma. The digit of the highest digit of the multi-digit exponent is then stored before the lowest digit of the exponent in the buffer register 12 and the overflow stage 30 then responds to this "stored digit of the highest digit of the exponent if it is different from 0 and prevents a subsequent one Actuation of the comma switch 26 while the number is being reproduced in the representation with a floating comma ... "'.. .....: ..': ■

Da die Zahl —1,234098765 +.ί in der. Darstellung mit festem Komma und auch die vierte Stelle nach dem Komma gerundet angezeigt werden kann, wird das Leitwerk 20 durch den in die Stellung »feste's Komma« umgelegten Kommaschalter 26 und die Überlauf-Stufe 30 mit dem Steuerdecoder 28 verbunden, so daß die Operationen zur Wiedergabe der Zahl in der Darstellung mit festem Komma ihren Fortgang nehmen können. Bei der Betriegsart »festes Komma« besteht der nächste Schritt bei der Darstellung der Zahl darin, daß die Ziffer (im folgenden kurz »Folgeziffer«) selektiert wird, die sich in der Stelle befindet, die auf die Stelle, in der sich die niedrigste Ziffer, die nach dem Komma dargestellt werden kann, befindet, folgt, und diese Folgeziffer, beim vorliegenden Beispiel also die »8« im Pufferregister 12 gespeichert wird. Die Summe der letzten Ziffer des Exponenten, der Anzahl der Ziffern nach dem Komma die wiederzugeben sind, und der Λί-Index der binären Adresse der .»Folgeziffer« ist.zwei weniger als die Anzahl der Mantissenziffern, die gespeichert und angezeigt werden können, nämlich acht für die zehn Mantissenanzeigenstellen der Kathodenstrahlröhre der Anzeigevorrichtung 13. Der Steuerdecoder 28 spricht also auf die letzte Ziffer des Exponenten, nämlich +1, an, wenn diese im Pufferregister gespeichert ist, und auf die Anzahl der Stellen nach dem Komma, die wiederzugeben sind, also vier, was mittels des Kommastellungsschalters 24 eingestellt worden war, um die Adresse der »Folgeziffer« zu bestimmen, während gleichzeitig die Überlauf-Stufe 30 feststellt, ob die Zahl in der Darstellung mit festem Komma wiedergegeben werden kann. Der Steuerdecoder 28 ist mit der Adressenwahlstufe 14 verbunden und veranlaßt diese zur Selektion der Zeichenleitung, in der die »Folgeziffer« gespeichert ist; außerdem ver-Since the number —1.234098765 + .ί in the. depiction with a fixed comma and also the fourth digit after the comma can be displayed rounded the tail unit 20 by the comma switch 26 turned to the "fixed comma" position and the Overflow stage 30 is connected to the control decoder 28 so that the operations for reproducing the number can continue in the representation with a fixed comma. With the "fixed comma" type of operation The next step in the representation of the number is that the digit (hereinafter referred to as "subsequent digit") is selected, which is located in the position following the position in which there is the lowest digit following can be represented by the comma, is located, follows, and this number, in the present example the "8" is stored in the buffer register 12. The sum of the last digit of the exponent, the number the digits after the comma that are to be reproduced, and the Λί index of the binary address of the. is two less than the number of mantissa digits that can be stored and displayed namely eight for the ten mantissa display digits of the cathode ray tube of the display device 13. The Control decoder 28 responds to the last digit of the exponent, namely +1, if this is in the buffer register is stored, and the number of decimal places to be displayed, i.e. four, what was set by means of the decimal point switch 24 in order to assign the address to the "next digit" determine, while at the same time the overflow stage 30 determines whether the number in the representation with fixed Comma can be reproduced. The control decoder 28 is connected to the address selection stage 14 and causes them to select the character line in which the "next digit" is stored; also

5 65 6

anlaßt.der Steuerdecoder 28 die Transferstufe 16, mit Übertragsschaltung auf die Erhöhung der Ziffer der der er ebenfalls gekoppelt ist, die »Folgeziffer« vom letzten Stelle von 9 auf 0 an, um die Ziffer der vorSpeicher 10 ohne sie dort zu löschen im Pufferregister letzten Stelle um eine Einheit zu erhöhen, wenn sie als 12 an Stelle der letzten Ziffer +1 des Exponenten zu nächstes im Pufferregister 12 gespeichert wird. Die speichern. Diese Operation des Steuerdecoders 28 wird 5 Übertragsschaltung enthält einen Übertragsdecoder 38, durch das Leitwerk 20 eingeleitet, das mit dem Steuer- der mit dem Pufferregister 12 gekoppelt ist, um festdecoder 28 über die Überlauf-Stufe 30 und den betä- zustellen, ob eine in diesem Register gespeicherte Ziffer tigten Kommaschalter 26 gekoppelt ist. von 9 auf 0 geändert wird, außerdem gehört zur Über-anlaasst.der control decoder 28, the transfer stage 16, with carry circuit to increase the digit of the to which it is also linked, the "next digit" from the last digit from 9 to 0 to the digit of the previous memory 10 without deleting it there in the buffer register last digit to increase by one unit if it is used as 12 is stored in the buffer register 12 in place of the last digit +1 of the exponent to the next. the to save. This operation of the control decoder 28 is 5 carry circuit includes a carry decoder 38, initiated by the control unit 20, which is coupled to the controller with the buffer register 12, to fixed decoder 28 via the overflow level 30 and the betä- whether a digit stored in this register activated comma switch 26 is coupled. is changed from 9 to 0, and the over-

Der nächste Schritt bei der Anzeige der Zahl tragsschaltung auch das Incrementflipflop 36, das mitThe next step in the display of the number carrier circuit also includes the increment flip-flop 36, which is with

— 1,234098765 H-I erfolgt durch eine Incrementschal- io dem Übertragsdecoder 38 verbunden ist und nur dann- 1.234098765 H-I takes place via an incremental switch which is connected to the carry decoder 38 and only then

tung, die einen mit dem Pufferregister 12 gekoppelten im gesetzten Incrementzustand gehalten wird, wenndevice that is coupled to the buffer register 12 is held in the set increment state when

Incrementdecoder 34 enthält, um festzustellen, ob die festgestellt wird, daß die im Pufferregister gespeicherteIncrement decoder 34 contains to determine whether it is determined that the stored in the buffer register

gespeicherte »Folgeziffer« größer als vier ist, außerdem Zahl von 9 auf 0 erhöht wurde. Das Leitwerk 20 istThe stored "next digit" is greater than four, and the number has been increased from 9 to 0. The tail unit 20 is

enthält die Incrementschaltung ein Incrementflipflop mit dem Übertragsdecoder 38 verbunden, um diesethe increment circuit includes an increment flip-flop connected to the carry decoder 38 to this

36, das mit dem Incrementdecoder 34 gekoppelt ist 15 Übertrags-Unteroperation einzuleiten, außerdem ist36, which is coupled to the increment decoder 34, is also to initiate 15 carry sub-operations

und durch diesen nur dann in den incrementzustand das Leitwerk auch mit der die Kathodenstrahl-An-and through this only then in the incremental state the tail unit also with which the cathode ray

gesetzt wird, wenn festgestellt worden ist, daß die zeigeröhre enthaltenden Anzeigevorrichtung 13 ge-is set when it has been determined that the pointer tube containing display device 13 is

»Folgeziffer« größer als vier ist. Das Incrementflipflop koppelt, um die letzte Unteroperation einzuleiten,"Subsequent digit" is greater than four. The increment flip-flop couples to initiate the last sub-operation,

36 ist mit dem Pufferregister 12 verbunden und be- während der die endgültige Ziffer der letzten Stelle,36 is connected to the buffer register 12 and holds the final digit of the last digit,

wirkt im gesetzten Zustand die Änderung einer an- 20 die im Pufferregister 12 gespeichert ist, nämlich die 0,in the set state, the change in one of the 20 that is stored in the buffer register 12, namely the 0,

schließend im Pufferregister 12 gespeicherten Ziffer auf dem Bildschirm der Kathodenstrahlröhre darge-number stored in buffer register 12 is displayed on the screen of the cathode ray tube.

indem ihr Wert um eins erhöht wird. Dieser Opera- stellt wird. Da die Addition der 1 zum "Wert einerby increasing their value by one. This Opera- represents. Since the addition of 1 to the "value of a

tionsschritt wird wieder durch das Leitwerk 20 einge- Ziffer im Verlaufe der Aufrundungs-Unteroperationtion step is again set by the tail unit 20- digit in the course of the rounding-up sub-operation

leitet, das mit dem Incrementdecoder 34 gekoppelt ist. oder der Übertrags-Unteroperation, die durch diewhich is coupled to the increment decoder 34. or the carry sub-operation initiated by the

Bei dem vorliegenden Beispiel wird das Incrementflip- »5 Aufrundungs-Operation verursacht wurde, mit derIn the present example, the increment flip »5 round up operation was caused with the

flop 36 während dieses Schrittes gesetzt, da die im anzuzeigenden Ziffer während deren Speicherung imflop 36 set during this step, because the digit to be displayed in the im

Pufferregister 12 gespeicherte »Folgeziffer« den Wert 8 Pufferregister 12 durchgeführt wird, wird der SpeicherBuffer register 12 stored "sequence digit" the value 8 buffer register 12 is carried out, the memory

hat, also größer als 4 ist. 10 selbst durch den Aufrundungsprozeß nicht gestört.has, i.e. is greater than 4. 10 itself not disturbed by the rounding up process.

Der nächste Schritt des Anzeigeprozesses umfaßt Der oben beschriebene Schritt bei der Anzeige der einige Unteroperationen bei deren erster die Adressen- 3° Zahl —1,234098765 +1 wird anschließend für jede steuerstufe 18 durch das Leitwerk 20 veranlaßt wird, Ziffer von der Ziffer der letzten anzuzeigenden Stelle, die Adressenwahlstufe 14 um eine Adresse weiterzu- also der 9, bis zur höchsten Ziffer der Mantisse, die schalten, so daß die Zeichenleitung selektiert wird, anzuzeigen ist, also der Ziffer —1 wiederholt. Als indem die Ziffer der niedrigsten Stelle, die wiederzu- nächstes wird also die Ziffer in der vorletzten Stelle, geben ist, gespeichert ist, ferner veranlaßt das Leit- 35 die wiederzugeben ist, also die 0, im Pufferregister 12 werk, daß die Transferstufe 16 diese Ziffer ohne sie gespeichert und die gespeicherte Ziffer wird vor ihrer dabei zu löschen aus dem Speicher 10 in das Puffer- Darstellung auf dem Bildschirm der Kathodenstrahlregister 12 an Stelle der »Folgeziffer« 8 einzuspeichern. röhre von 0 auf 1 erhöht, da das Flipflop 36 durch Das Leitwerk 20 ist mit dem Incrementflipflop 36 den durchlaufenden Übertrag von der Aufrundung verbunden, um die im Pufferregister 12 gespeicherte 40 der Ziffer der letzten Stelle während der Übertrags-Ziffer während dieser Unteroperation um eine Einheit Unteroperation in den Incrementzustand gesetzt worzu erhöhen, wenn das Incrementflipflop während des den war. Da die Ziffer der vorletzten Stelle von 0 auf 1 vorangehenden Schrittes gesetzt oder in gesetztem und nicht von 9 auf 0 erhöht wird, wird das Flipflop Zustand gehalten worden war. Da das Incrementflip- 36 in den Ruhezustand zurückgesetzt, so daß die flop 36 bei dem vorliegenden Beispiel während des 45 übrigen Mantissenziffern 4, 3 ... — 1 bei ihrer Speiunmittelbar vorangehenden Schrittes in den Increment- cherung im Pufferregister 12 nicht erhöht, sondern mit zustand gesetzt worden war, wird die gespeicherte demselben Wert, wie sie ihn auch im Speicher 10 haben, Ziffer der letzten Stelle bei der folgenden Rundungs- durch die Kathodenstrahlröhre angezeigt werden. Die Unteroperation um eine Einheit vergrößert, also von 9 in der Darstellung mit gleitendem Komma gespeicherte auf 0, während sie im Pufferregister 12 gespeichert ist, 5° Zahl —1,234098765 +1 wird also in der Darstellung so daß für diese Ziffer ein um eine Einheit größerer mit festem Komma abgerundet in der Form —12,3410 Wert angezeigt wird, als im Speicher 10 gespeichert ist. angezeigt, ohne daß dabei der im Speicher 10 gespei-Wenn jedoch das Incrementflipflop 36 nicht gesetzt cherte Wert geändert wird. Die Ungenauigkeiten der worden war, wird die im Pufferregister 12 gespeicherte abgerundet angezeigten Zahl gehen daher auch nicht Ziffer nicht geändert und dann mit demselben Wert 55 in anschließende Rechnungen ein, die mit der unverangezeigt wie sie ihn auch im Speicher 10 hat. Bei der ändert im Speicher 10 gespeicherten Zahl durchgeführt nun folgenden Übertrags-Unteroperation spricht die werden.The next step in the display process includes the step described above in displaying the some sub-operations in the first of which the address 3 ° number -1.234098765 +1 is then used for each control stage 18 is caused by the tail unit 20, digit from the digit of the last digit to be displayed, the address selection stage 14 by one address further to 9, up to the highest digit of the mantissa, the switch so that the character line is selected, is to be displayed, that is, the number -1 is repeated. When by the number of the lowest place, the next to the next becomes the number in the penultimate place, is stored, also causes the routing 35 that is to be reproduced, that is, the 0, in the buffer register 12 works that the transfer stage 16 stores this digit without it and the stored digit is in front of its in the process to delete from the memory 10 in the buffer representation on the screen of the cathode ray register 12 to be stored in place of the "next digit" 8. tube increased from 0 to 1, because the flip-flop 36 through With the increment flip-flop 36, the tail unit 20 is the continuous carry over from the rounding up connected to the 40 of the digit of the last digit stored in the buffer register 12 during the carry digit During this sub-operation, the sub-operation is incremented by one unit increase if the increment flip-flop was during the. Since the number of the penultimate digit changes from 0 to 1 is set in the previous step or is set and not increased from 9 to 0, the flip-flop Condition had been maintained. Since the increment flip 36 is reset to the idle state, so that the flop 36 in the present example while the 45 remaining mantissa digits 4, 3 ... - 1 in their stored immediately the previous step in the incrementing in the buffer register 12 is not increased, but with state was set, the stored value is the same as it is in memory 10, Digit of the last digit in the following rounding through the cathode ray tube. the Sub-operation enlarged by one unit, i.e. saved from 9 in the representation with a floating point to 0 while it is stored in the buffer register 12, 5 ° number -1.234098765 +1 is therefore in the representation so that for this number a unit larger by one unit with a fixed comma rounded off in the form -12.3410 Value is displayed than is stored in memory 10. displayed without the stored in memory 10-Wenn however, the increment flip-flop 36 is not set and changed. The inaccuracies of the has been, the number stored in the buffer register 12 rounded down will therefore not work Digit not changed and then with the same value 55 in subsequent invoices that are not shown with the as it also has it in memory 10. Performed when the number stored in memory 10 changes now the following carry sub-operation speaks the will.

Hierzu 2 Blatt ZeichnungenFor this purpose 2 sheets of drawings

Claims (2)

Patentansprüche:Patent claims: 1. Rechenmaschine mit einer Rundungsschaltung, die den Wert der rangniedrigsten beizubehaltenden Stelle einer in einem Speicher befindlichen Zahl um eins erhöht, falls die Ziffer mit dem nächstniedrigeren Rang einen vorgegebenen Wert überschreitet, mit einer Übertragsschaltung, welche jeweils eine Ziffer mit dem nächsthöheren Rang um eins erhöht, falls unter Bildung eines Übertrags aufgerundet wurde, sowie mit einer Anzeigevorrichtung für Zwischenergebnisse, dadurch gekennzeichnet, daß die Rundung nur für die Anzeige erfolgt, indem eine Steuerschaltung (22) die ranghöchste nicht mehr anzuzeigende Stelle der in einem Zwischenergebnisspeicher (10) befindlichen Zahl bestimmt und die zerstörungsfreie Übertragung dieser und aller an höheren Stellen in einen Anzeigespeicher (12) veranlaßt, der mit der Rundungs- und der Übertragungsschaltung verbunden ist und in welchem die Rundung vorgenommen wird.1. Calculating machine with a rounding circuit that determines the value of the lowest ranking to be retained Digit in a memory increased by one, if the digit starts with the next lower rank exceeds a predetermined value, with a carry circuit which one digit with the next higher rank increased by one, if a carryover is formed was rounded up, as well as with a display device for intermediate results, thereby marked that the rounding is only for the display takes place by a control circuit (22) the highest ranking no longer to be displayed Place the number in an intermediate result memory (10) and the non-destructive one Transmission of this and all at higher points in a display memory (12) causes the is connected to the rounding and the transmission circuit and in which the rounding is carried out will. 2. Rechenmaschine nach Ansrpuch 1, dadurch gekennzeichnet, daß die Zahl im Zwischenergebnisspeicher (10) mit gleitendem Komma gespeichert ist und durch die Anzeigevorrichtung (13) gerundet mit festem Komma anzeigbar ist.2. Calculating machine according to Claims 1, characterized in that the number in the intermediate result memory (10) is stored with a floating point and rounded by the display device (13) can be displayed with a fixed comma.
DE19671549454 1966-05-19 1967-05-19 Calculating machine with a rounding device and a display device Expired DE1549454C3 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US55146166 1966-05-19
DEH0062786 1967-05-19

Publications (1)

Publication Number Publication Date
DE1549454C3 true DE1549454C3 (en) 1977-05-05

Family

ID=

Similar Documents

Publication Publication Date Title
DE1901343C3 (en) Data processing system for the execution of material invoices
CH620542A5 (en)
DE2331589A1 (en) DATA PROCESSING ARRANGEMENT
DE2353421B2 (en) ELECTRONIC CALCULATOR
DE2704842A1 (en) DATA PROCESSING SYSTEM
DE3320213C2 (en)
DE1282337B (en) Program-controlled electronic computing system
DE1942005B2 (en) DATA PROCESSING SYSTEM FOR RECEIVING AND SENDING DIGITAL DATA AND PERFORMING OPERATIONS ON THE DATA
DE1424732A1 (en) Electronic number calculator
DE1286789B (en) Device on an electronic digit calculator for rapid data exchange between the processing unit and the central memory
DE2062228A1 (en) Provide data processing system with simultaneous access to several memories
DE1240686B (en) Arrangement to suppress the display of digits meaningless for the value of a number in an electronic number calculator
DE2212967A1 (en) Apparatus and method for using a three-field word to represent a floating point number
DE1549454B2 (en) CALCULATING MACHINE WITH A ROUNDING DEVICE AND A DISPLAY DEVICE
EP0265555B1 (en) Method and circuitry for addition of floating point numbers
DE1549454C3 (en) Calculating machine with a rounding device and a display device
DE1168129B (en) Procedures for processing data
DE2306679A1 (en) DEVICE FOR PROCESSING DIGITAL DATA
DE1499286B2 (en) DATA PROCESSING SYSTEM
DE1222290B (en) Binary computing device for the formation and accumulation of products
DE2223257C3 (en) Display device for drawing lines on a cathode ray tube display surface
DE3025167A1 (en) DATA PROCESSING DEVICE
DE1296427B (en) Data processing system
DE1250489B (en) I Circuit arrangement for storing blank passwords in an associative memory
DE2601379C3 (en) Circuit arrangement for converting virtual addresses into real addresses