JPH08227400A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH08227400A
JPH08227400A JP7056490A JP5649095A JPH08227400A JP H08227400 A JPH08227400 A JP H08227400A JP 7056490 A JP7056490 A JP 7056490A JP 5649095 A JP5649095 A JP 5649095A JP H08227400 A JPH08227400 A JP H08227400A
Authority
JP
Japan
Prior art keywords
rounding
data
input
instruction
key
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.)
Granted
Application number
JP7056490A
Other languages
Japanese (ja)
Other versions
JP3693262B2 (en
Inventor
Katsuyoshi Suzuki
勝吉 鈴木
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP05649095A priority Critical patent/JP3693262B2/en
Priority to TW084105503A priority patent/TW283223B/zh
Priority to US08/560,894 priority patent/US5870318A/en
Priority to EP95118484A priority patent/EP0715263B1/en
Priority to DE69530461T priority patent/DE69530461T2/en
Priority to MYPI95003626A priority patent/MY113894A/en
Priority to KR1019950045768A priority patent/KR100246519B1/en
Priority to CN95117574A priority patent/CN1095131C/en
Publication of JPH08227400A publication Critical patent/JPH08227400A/en
Priority to US08/940,614 priority patent/US6026449A/en
Priority to HK98114753A priority patent/HK1013471A1/en
Application granted granted Critical
Publication of JP3693262B2 publication Critical patent/JP3693262B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE: To prevent the execution of succeeding useless key entry operation by informing an input operator of current status when key entry operation and a rounding state for a test are different from that of 1st calculation. CONSTITUTION: This electronic computer is provided with an input means 5 for inputting numerical/operation instruction data, rounding specifying means 6, 7 for specifying whether digits less than the prescribed digits of a decimal point are to be rounded or omitted, an arithmetic means (CPU) 2 for executing operation in a specified rounding state based upon the inputted numerical/ operation instruction data, display means 8, 9 for displaying numerical data/ operated result data, a storage means 4 for storing numerical/operation instruction/rounding state data, and an informing means (CPU) 2 for comparing the preceding numerical/operation instruction/rounding state data stored in the means 4 with current numerical/operation instruction/rounding state data, and when the preceding data do not coincide with the current data, displaying the non-coincident data on the display means 9 by lighting it up.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、検算機能を備えた電子
計算機に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic computer having a check function.

【0002】[0002]

【従来の技術】電卓などの電子計算機には検算機能を備
えたものがある。この種の電子計算機は、1回目の計算
のキー入力操作および計算結果を記憶しておき、2回目
に行われるキー入力操作および計算結果と1回目の計算
のキー入力操作および計算結果とを比較し、差異がある
場合に警告音などによって間違いを告知するようになっ
ている。
2. Description of the Related Art Some electronic calculators and other electronic calculators have a check function. This kind of electronic computer stores the key input operation and the calculation result of the first calculation and compares the key input operation and the calculation result of the second time with the key input operation and the calculation result of the first calculation. However, if there is a difference, a warning sound or the like is used to notify the mistake.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上述した
従来の電子計算機では、1回目と2回目のキー入力操作
および計算結果を比較して計算が正しかったか否かが判
断されるため、少数点以下の桁数を指定する桁数指定ス
イッチや、指定された桁の下1桁を四捨五入するか切り
捨てるかを指定する丸めスイッチの設定が1回目と2回
目とで異なっていても答えを出すまで入力者には分から
ない。そのため、1回目と2回目とで答が異なっていた
場合には、桁数指定スイッチおよび丸めスイッチを操作
して、丸め演算状態を設定し直してから2回目の入力操
作を最初からやり直さなければならず、操作性が悪いと
いう問題があった。
However, in the above-mentioned conventional electronic computer, since it is judged whether the calculation was correct by comparing the first key input operation and the second key input operation and the calculation result, the number of decimal points below Even if the setting of the digit number specification switch that specifies the number of digits and the rounding switch that specifies whether the last digit of the specified digit is to be rounded off or rounded off is different between the first time and the second time I don't know. Therefore, if the answer is different between the first time and the second time, you must operate the number-of-digits specification switch and the rounding switch to reset the rounding calculation state, and then repeat the second input operation from the beginning. However, there is a problem that the operability is poor.

【0004】本発明の目的は、上記従来技術の欠点を解
消し、2回目の計算における丸め状態が1回目の計算の
ときと異なっている場合、そのことを直ちに入力者に知
らせてその後の無駄なキー入力操作を防止できる操作性
の良い電子計算機を提供することにある。
An object of the present invention is to solve the above-mentioned drawbacks of the prior art and, when the rounding state in the second calculation is different from that in the first calculation, immediately inform the user of the fact and waste it thereafter. An object of the present invention is to provide an electronic computer with good operability that can prevent various key input operations.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明の電子計算機は、入力された一連の演算式デー
タを記憶し、新たに入力された演算式データと前記記憶
された演算式データとを比較することで検算を行う検算
機能を備えた電子計算機において、演算式データを入力
する入力手段と、この入力手段により入力された演算式
データに基づいて演算を実行する演算手段と、この演算
手段による演算の丸めを指示する丸め指示手段と、この
丸め指示手段によって指定された丸めで前記演算手段に
よる演算結果を丸める丸め処理手段と、前記丸め指示手
段の丸め指示の状態と前記入力手段により入力された演
算式データとを対応させて記憶する記憶手段と、新たに
入力された演算式データとその時の丸め指示手段の状態
と、前記記憶手段に記憶されている演算式データと丸め
指示の状態との一致を検出する検出手段と、この検出手
段により演算式データ又は丸め指示状態の少なくとも一
方が一致していないと検出された際に報知を行う報知手
段と、を備えてなることを特徴としている(請求項
1)。
In order to achieve the above object, an electronic computer of the present invention stores a series of inputted arithmetic expression data, and newly inputted arithmetic expression data and the stored arithmetic expression. In an electronic computer having a verification function for performing verification by comparing with data, an input means for inputting arithmetic expression data, and an arithmetic means for executing arithmetic operation based on the arithmetic expression data input by this input means, Rounding instruction means for instructing rounding of the operation by the operation means, rounding processing means for rounding the operation result by the operation means by the rounding designated by the rounding instruction means, state of the rounding instruction of the rounding instruction means and the input Storage means for storing the arithmetic expression data input by the means in association with each other, newly input arithmetic expression data and the state of the rounding instruction means at that time, and the storage means Detecting means for detecting a match between the stored arithmetic expression data and the rounding instruction state, and notifying when the detecting means detects that at least one of the arithmetic expression data and the rounding instruction state does not match. And a notification means (claim 1).

【0006】本発明の電子計算機において、前記丸め指
示手段は上記演算手段によって導かれた演算結果につい
て桁数指定、桁数指定で四捨五入、桁数指定無しのいず
れかを指定する丸め指示手段であることが望ましい(請
求項2)。
In the electronic computer of the present invention, the rounding instructing means is a rounding instructing means for designating the calculation result derived by the calculating means by specifying the number of digits, rounding with the number of digits specified, or no designation of the number of digits. It is desirable (claim 2).

【0007】また、前記前記丸め指示手段は上記演算手
段によって導かれた演算結果について小数点以下の桁数
を指定する桁数指定手段と、この桁数指定手段によって
指定された小数点以下の桁数となるように指定された桁
数以下の切捨又は四捨五入を指示する切捨指定手段とを
備えた丸め指示手段であることが望ましい(請求項
3)。
The rounding instructing means includes a digit number designating means for designating the number of digits below the decimal point with respect to the calculation result derived by the computing means, and a number of digits below the decimal point designated by the digit number designating means. It is desirable that the rounding instructing means is provided with a rounding-down specifying means for instructing the rounding or rounding of less than or equal to the specified number of digits (claim 3).

【0008】また、前記記憶手段は前記入力手段により
入力される演算式データに含まれる演算命令データ
(+、−、×、÷)毎に前記丸め指示手段による丸め指
示の状態を記憶し、前記検出手段は新たに入力される演
算式データ中の演算命令データが入力される毎に演算式
データとその時の丸め指示手段の状態と、前記記憶手段
に記憶されている演算式データと丸め指示の状態との一
致を検出する検出手段であることが望ましい(請求項
4)。
The storage means stores the state of the rounding instruction by the rounding instruction means for each operation command data (+,-, x, ÷) included in the operation expression data input by the input means, Each time the detection means inputs the operation command data in the newly input operation expression data, the operation expression data, the state of the rounding instruction means at that time, the operation expression data stored in the storage means, and the rounding instruction It is preferable that the detecting means is a means for detecting a match with the state (claim 4).

【0009】また、前記報知手段は一致していないデー
タを点滅表示する表示手段を備えてなることが望ましい
(請求項5)。
Further, it is preferable that the notifying means comprises a display means for blinking and displaying non-matching data (claim 5).

【0010】また、前記報知手段は一致していないデー
タに対応した表示データを表示する表示手段を備えてな
ることが望ましい(請求項6)。
Further, it is preferable that the notifying means is provided with a display means for displaying display data corresponding to the inconsistent data (claim 6).

【0011】[0011]

【作用】請求項1に記載された電子計算機では、入力手
段により演算式データが入力されると、入力された演算
式データに基づいて演算手段により演算が実行される。
そして、丸め指示手段によって演算手段による演算の丸
め指示がなされると、丸め指示手段によって指定された
丸めで、演算手段による演算結果が丸め処理手段により
丸め処理される。その際、丸め指示手段の丸め指示の状
態と入力手段により入力された演算式データとが対応さ
せて記憶手段に記憶される。そして、新たに入力された
演算式データとその時の丸め指示手段の状態と、記憶手
段に記憶されている演算式データと丸め指示の状態との
一致が検出手段により検出され、演算式データ又は丸め
指示状態の少なくとも一方が一致していないと検出され
た際には報知手段により報知がなされる。したがって入
力手段によって演算式データを入力して1回目(前回)
の計算を行った後、再度前記入力手段によって演算式デ
ータを入力して2回目(今回)の計算(検算)を行う
際、丸め指示の状態が前回と異なっていると、前回のデ
ータと今回のデータとが一致しないとして直ちに報知が
なされるので、その後の無駄な入力操作を防止できる。
In the electronic computer according to the first aspect, when the arithmetic expression data is inputted by the input means, the arithmetic means executes the arithmetic operation based on the inputted arithmetic expression data.
Then, when the rounding instruction means gives the rounding instruction of the operation by the operation means, the operation result of the operation means is rounded by the rounding processing means by the rounding specified by the rounding instruction means. At this time, the state of the rounding instruction of the rounding instruction means and the arithmetic expression data input by the input means are stored in the storage means in association with each other. Then, the newly input arithmetic expression data, the state of the rounding instruction means at that time, and the coincidence between the arithmetic expression data stored in the storage means and the state of the rounding instruction are detected by the detection means, and the arithmetic expression data or the rounding When it is detected that at least one of the instructed states does not match, the informing means gives an alarm. Therefore, the first time (previous)
After performing the calculation of, when the arithmetic expression data is input again by the input means to perform the second (current) calculation (verification), if the state of the rounding instruction is different from the previous one, the previous data and the current Since it is immediately notified that the data does not match the data of No. 1, it is possible to prevent a useless input operation thereafter.

【0012】また、請求項2に記載された電子計算機に
よれば、演算手段によって導かれた演算結果に対して桁
数指定、桁数指定で四捨五入、桁数指定無しのいずれの
丸め状態で丸め処理を行うかを丸め指示手段により指定
できる。
Further, according to the electronic computer of the second aspect of the present invention, the rounding is performed in any rounding state of the calculation result derived by the calculating means, that is, the number of digits is designated, the number of digits is rounded off, or the number of digits is not designated. Whether to perform the processing can be designated by the rounding instruction means.

【0013】また、請求項3に記載された電子計算機に
よれば、演算手段によって導かれた演算結果の小数点以
下の桁数を桁数指定手段によって指定し、さらに演算結
果が桁数指定手段によって指定された小数点以下の桁数
となるように、指定された桁数以下を切捨又は四捨五入
のいずれの丸め状態で丸め処理を行うかを切捨指定手段
によって指定できる。
According to another aspect of the electronic computer of the present invention, the number of digits below the decimal point of the operation result guided by the operation means is specified by the number-of-digits specifying means, and the operation result is further specified by the number-of-digits specifying means. It is possible to specify whether the rounding process is performed by rounding or rounding the number of digits below the designated number of digits so that the number of digits below the designated decimal point is reached by the truncation designating means.

【0014】また、請求項4に記載された電子計算機で
は、入力手段により入力される演算式データに含まれる
演算命令データ(+、−、×、÷)毎に丸め指示手段に
よる丸め指示の状態が記憶手段に記憶される。そして、
新たに入力される演算式データ中の演算命令データが入
力される毎に演算式データとその時の丸め指示手段の状
態と、記憶手段に記憶されている演算式データと丸め指
示の状態との一致が検出手段により検出される。したが
って、新たに演算命令データが入力される毎にそのとき
の丸め指示の状態と、前回その演算命令データが入力さ
れた時における丸め指示の状態との一致が検出され、一
致しないときには直ちに報知が行なわれる。
Further, in the electronic computer according to the present invention, the state of the rounding instruction by the rounding instruction means for each operation instruction data (+,-, x, ÷) included in the operation expression data input by the input means. Is stored in the storage means. And
Every time the operation command data in the newly input operation expression data is input, the operation expression data and the state of the rounding instruction means at that time match the operation expression data stored in the storage means and the state of the rounding instruction. Is detected by the detection means. Therefore, each time new operation instruction data is input, a match between the state of the rounding instruction at that time and the state of the rounding instruction when the operation instruction data was input last time is detected. Done.

【0015】また、請求項5に記載された電子計算機に
よれば、一致しないデータを表示手段に点滅表示させる
ことで、入力操作あるいは丸め指定の状態に誤りがあっ
たことを入力者に報知できるとともに、どのような誤り
であるかを入力者に認識させることができる。
Further, according to the electronic computer of the fifth aspect, it is possible to notify the input person that the input operation or the rounding designation state has an error by causing the display means to blink the inconsistent data. At the same time, the input person can be made to recognize what kind of error is made.

【0016】また、請求項6に記載された電子計算機に
よれば、一致していないデータに対応した表示データを
表示手段に表示させることで、入力操作あるいは丸め指
定の状態に誤りがあったことを入力者に報知できるとと
もに、どのような誤りであるかを入力者に認識させるこ
とができる。
Further, according to the electronic computer of the sixth aspect, by displaying the display data corresponding to the inconsistent data on the display means, there is an error in the state of the input operation or the rounding designation. Can be notified to the input person, and the input person can be made aware of what kind of error is made.

【0017】[0017]

【実施例】以下に、本発明の電子計算機の一実施例につ
いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the electronic computer of the present invention will be described below.

【0018】図1は、この実施例の電子計算機の基本構
成を示すブロック図である。
FIG. 1 is a block diagram showing the basic configuration of the electronic computer of this embodiment.

【0019】同図に示す電子計算機1は、プログラムの
命令に従って電子計算機1全体の制御を行う中央演算処
理装置(CPU)2と、CPU2で処理するマイクロプ
ログラムを記憶した読み出し専用メモリ(ROM)3
と、データを記憶する随時書き込み読み出しメモリ(R
AM)4と、データ入力や後述するモードの切換など行
うためのキー入力部5と、少数点以下の桁数を指定する
ための桁数入力部6と、桁数入力部6によって指定され
た桁の下1桁を四捨五入するか切り捨てるかを指定する
ための演算条件入力部7と、CPU2から出力される数
値データや各種メッセージデータを表示するための表示
駆動回路8および表示部9と、CPU2から出力される
告知音信号を増幅して放音するための増幅回路10およ
びスピーカ11とからなる。
The electronic computer 1 shown in the figure has a central processing unit (CPU) 2 for controlling the entire computer 1 according to instructions of a program, and a read-only memory (ROM) 3 for storing a microprogram to be processed by the CPU 2.
And a read / write memory (R
AM) 4, a key input unit 5 for inputting data and switching modes described later, a digit number input unit 6 for designating the number of digits below the decimal point, and a digit number input unit 6. A calculation condition input unit 7 for designating rounding or truncation of the last digit of one digit, a display drive circuit 8 and a display unit 9 for displaying numerical data and various message data output from the CPU 2, and CPU 2 It is composed of an amplifier circuit 10 and a speaker 11 for amplifying and outputting a notification sound signal output from.

【0020】上記RAM4は、図2に示すように、上記
表示部7に表示するデータを記憶する表示レジスタの領
域(置数入力レジスタの領域を兼ねる)12と、CPU
2が演算するための数値を一時記憶する演算用レジスタ
の領域13と、演算結果を一時記憶するメモリレジスタ
の領域14と、プログラム実行中の各種条件を表フラグ
F、Hの内容を記憶するフラグレジスタの領域15とを
有する。
As shown in FIG. 2, the RAM 4 has a display register area (which also serves as a numeric input register area) 12 for storing data to be displayed on the display section 7, and a CPU.
2 is a calculation register area 13 for temporarily storing a numerical value for calculation, 2 is a memory register area 14 for temporarily storing a calculation result, and a flag for storing various conditions during program execution. Register area 15.

【0021】各フラグの内容は下記のとおりである。 F= 0 通常の演算モード F=1 検算モード H=1 訂正モード H=0 訂正モード解除The contents of each flag are as follows. F = 0 Normal operation mode F = 1 Verification mode H = 1 Correction mode H = 0 Correction mode release

【0022】また、RAM4は、キー入力部5からの入
力内容を一時記憶するジャーナルメモリの領域16と、
ジャーナルメモリの領域16の各レジスタを指定するア
ドレスポインタPnを記憶する領域17とを有してい
る。
The RAM 4 also has a journal memory area 16 for temporarily storing the contents input from the key input section 5,
An area 17 for storing an address pointer Pn for designating each register in the area 16 of the journal memory.

【0023】ジャーナルメモリの領域16は、入力され
た数値を記憶する置数メモリの領域16aと、入力され
た演算命令(+、−、×、÷、=)を記憶するファンク
ションメモリの領域16bと、演算条件入力部7で指定
された丸め状態指定データ(F、C、5/4)を記憶す
る丸め状態メモリの領域16cと、桁数入力部6によっ
て指定された桁指定データ(4、2、1、0、ADD2)
を記憶する桁指定メモリの領域16dとを有する。そし
て、キー入力部5から演算のための入力がなされる毎
に、数値データと、その直後に入力された演算命令デー
タと、そのときの丸め演算状態データ(丸め状態指定デ
ータ、桁指定データ)とをセットにして、アドレスポイ
ンタP0、P1、P2、P3、・・・によって指定されてい
るジャーナルメモリの領域16のレジスタに順次記憶す
るようになっている。
The area 16 of the journal memory is an area 16a of a numerical value memory for storing an input numerical value and an area 16b of a function memory for storing an input arithmetic instruction (+,-, x, ÷, =). , An area 16c of the rounding state memory for storing the rounding state designation data (F, C, 5/4) designated by the calculation condition input section 7 and the digit designation data (4, 2) designated by the digit number input section 6 1, 0, ADD2)
And a region 16d of a digit designation memory for storing Then, every time an input for operation is made from the key input unit 5, numerical data, operation instruction data input immediately after that, and rounding operation state data at that time (rounding state designation data, digit designation data) And are set and sequentially stored in the register of the area 16 of the journal memory designated by the address pointers P0, P1, P2, P3, ....

【0024】上記キー入力部5は、図3に示すように、
電子計算機1の操作面18上に配設された置数キー群1
9、演算命令キー群20、命令キー群21、メモリーキ
ー群22、および検算キー23を備えている。
The key input section 5 is, as shown in FIG.
Numerical key group 1 arranged on the operation surface 18 of the electronic computer 1
9, an operation command key group 20, an instruction key group 21, a memory key group 22, and a verification key 23.

【0025】置数キー群19は、0から9までの数値を
それぞれ入力するための数字キー「0」〜「9」と、小
数点を入力するための少数点キー「.」とからなる。
The numerical key group 19 includes numeric keys "0" to "9" for inputting numerical values 0 to 9 and a decimal point key "." For inputting a decimal point.

【0026】演算命令キー群20は、四則演算命令をそ
れぞれ入力するための四則演算命令キー「+」、
「−」、「×」、「÷」と、答を求めるためのイコール
キー「=」とからなる。
The arithmetic command key group 20 includes four arithmetic operation command keys “+” for inputting four arithmetic operation commands,
It is composed of "-", "x", "÷" and an equal key "=" for obtaining an answer.

【0027】命令キー群21は、表示されている数値の
正負を切り換えるための正負キー「+/−」と、百分率
計算に切り換えるためのパーセントキー「%」と、検算
モードにおいて前回の演算結果と今回の演算結果を交互
に表示させるための確認キー「確認」と、押し間違えた
数値の訂正(置数訂正)をするためのクリアキー「C」
と、それまでの演算データを全て消去(初期化)するた
めのオールクリアキー「AC」とからなる。
The command key group 21 includes a plus / minus key "+/-" for switching the sign of the displayed numerical value, a percentage key "%" for switching to the percentage calculation, and a previous calculation result in the verification mode. Confirmation key "confirm" to alternately display the calculation result this time, and clear key "C" to correct the mistaken value (register number correction)
And an all clear key “AC” for erasing (initializing) all the operation data up to that point.

【0028】メモリーキー群22は、表示されている数
値を上記メモリレジスタに記憶されている数値に足す
(プラスの数値で入力)ためのメモリープラスキー「M
+]と、引く(マイナスの数値で入力)ためのメモリー
マイナスキー「M−」と、上記メモリレジスタに記憶さ
れている数値を呼び戻すためのメモリーリコールキー
「MR]と、上記メモリレジスタに記憶されている数値
を呼び戻すと同時にメモリー内容を消去するためのメモ
リーリコールクリアーキー「MC]とからなる。
The memory key group 22 is a memory plus key "M" for adding the displayed numerical value to the numerical value stored in the memory register (inputting a positive numerical value).
+], A memory minus key "M-" for subtraction (input with a negative numerical value), a memory recall key "MR" for recalling the numerical value stored in the memory register, and a memory recall key stored in the memory register. It consists of the memory recall clear key "MC" for recalling the numerical value and deleting the memory contents at the same time.

【0029】検算キー「検算」23は、標準演算モード
と検算モードとを交互に切り換えるための命令キーであ
る。
The verification key "verification" 23 is an instruction key for alternately switching between the standard calculation mode and the verification mode.

【0030】また、電子計算機1の操作面18には、上
記桁数入力部6の操作部である小数点指定スイッチ26
と上記演算条件入力部7の操作部である丸めスイッチ2
5とが設けられている。
Further, on the operation surface 18 of the electronic computer 1, a decimal point designating switch 26 which is an operation portion of the digit number input portion 6 is provided.
And a rounding switch 2 which is an operation unit of the calculation condition input unit 7
And 5 are provided.

【0031】丸めスイッチ25は、小数点以下をどのよ
うに処理するかを指定するためのスイッチで、小数点以
下を可能なだけ自由に求めるフリーモード゛F″と、小
数点指定スイッチ26によって指定された桁の下1桁を
切り捨てるカットモード゛C″と、四捨五入する四捨五
入モード゛5/4″のいずれかを指定できるようになっ
ている。
The rounding switch 25 is a switch for designating how to process the decimal point. The round mode switch 25 is a free mode "F" for freely obtaining the decimal point and the digit specified by the decimal point designating switch 26. It is possible to specify either a cut mode "C" that cuts off the last 1 digit or a rounding mode "5/4" that rounds off.

【0032】小数点指定スイッチ26は、丸めスイッチ
25がカットモード゛C″または四捨五入モード゛5/
4″の指定になっているときに有効なスイッチで、小数
点以下は求めない0桁モード゛0″、小数点以下1桁ま
で求める1桁モード゛1″、小数点以下2桁まで求める
2桁モード゛2″、小数点以下4桁まで求める4桁モー
ド゛4″のいずれかを指定できる。また、この小数点指
定スイッチ26は、「.」キーを押さなくても自動的に
2桁目に小数点を入れる固定小数点モード゛ADD2″ の
指定もできるようになっている。
In the decimal point designating switch 26, the rounding switch 25 has a cut mode "C" or a rounding mode "5 /
Switch effective when 4 "is specified, 0 digit mode" 0 "that does not require decimal places, 1 digit mode" 1 "that requires 1 digit after decimal point, 2 digit mode that requires 2 digits after decimal point" You can specify either 2 "or a 4 digit mode" 4 "that requires up to 4 digits after the decimal point. The decimal point designation switch 26 automatically inserts a decimal point in the second digit without pressing the". "Key. It is also possible to specify the fixed point mode "ADD2".

【0033】上記表示部7は、周知の液晶ディスプレイ
からなるものであり、CPU2から出力された数値デー
タや各種メッセージデータなどが表示駆動回路6に入力
されると、この表示駆動回路6によって駆動されて、図
9に示されるように表示窓9aに置数や答などの数値デ
ータや、各種メッセージデータなどを表示するものであ
る。
The display section 7 is composed of a well-known liquid crystal display, and when the numerical data and various message data output from the CPU 2 are input to the display drive circuit 6, the display drive circuit 6 drives the numerical data. As shown in FIG. 9, the display window 9a displays numerical data such as numbers and answers and various message data.

【0034】表示窓9aは、図3に示すように操作面1
8の入力キーの上方に設けられている。この表示窓9a
には8桁までの数値を表示できるようになっている。そ
して数値表示領域の左側には、RAM4のメモリレジス
タに数値が入っているときは゛M″が、定数計算中は゛
K″が、ある数を0で割るなどの入力エラーがあったと
きは゛E″が、それぞれ点灯するようになっている。
The display window 9a is provided on the operation surface 1 as shown in FIG.
It is provided above the 8 input keys. This display window 9a
Can display up to 8 digits. On the left side of the numerical display area, "M" is displayed when the memory register of RAM4 contains a numerical value, "K" is displayed during constant calculation, and "E" is displayed when there is an input error such as dividing a certain number by zero. But they are designed to light up respectively.

【0035】また、数値表示領域の上側の領域は、゛検
算中″、゛OK″、゛前回″、゛今回″、゛丸め″など
のメッセージ表示領域であり、検算モードになっている
ときに゛検算中″が、検算の結果、計算が正しかったと
きに゛OK″が、表示されている数値が前回(通常演算
モード)の数値のときに゛前回″が、今回(検算モー
ド)の数値のときに゛今回″が、小数点指定スイッチ2
6およびラウンドスイッチ25の設定が前回の計算のと
きと異なっているときに゛丸め″が、それぞれ点灯する
ようになっている。
The upper area of the numerical value display area is a message display area such as "during verification", "OK", "previous time", "current time", "rounding", etc. when in the verification mode. "In check" is "OK" when the calculation was correct as a result of the check, and "Previous" is the current (check mode) when the displayed value is the previous (normal calculation mode) value. When "is", the decimal point designation switch 2
When the settings of 6 and the round switch 25 are different from those of the previous calculation, the "rounding" is turned on.

【0036】また、表示窓9aの左上隅部には、検算中
に、表示窓9aに表示されている数値に続いて入力され
た演算命令の記号(+、−、×、÷、=)を表示するた
めの演算記号表示部24が設けられている。
Further, in the upper left corner of the display window 9a, the symbols (+,-, ×, ÷, =) of the operation command inputted after the numerical value displayed in the display window 9a during the verification are displayed. A calculation symbol display unit 24 for displaying is provided.

【0037】次に、上記構成の電子計算機1の動作につ
いて、図4〜図8のフローチャートと図9とを用いて説
明する。
Next, the operation of the electronic computer 1 having the above configuration will be described with reference to the flow charts of FIGS. 4 to 8 and FIG.

【0038】「AC」キーが押された後、キー入力部5
からデータが入力されると、置数キー/ファンクション
キー処理ルーチン(図4、図5)において、まずF=0
か否か、すなわち通常演算モードか検算モードかが判断
される(ステップS1)。
After the "AC" key is pressed, the key input section 5
When data is input from F, first, F = 0 in the numerical key / function key processing routine (FIGS. 4 and 5).
Whether or not, that is, the normal calculation mode or the verification mode is determined (step S1).

【0039】そして、F=0の場合には、その入力デー
タが置数キーによる入力データであるか否かが判断され
(ステップS2)、置数キーの場合には、その数値が表
示レジスタ12に記憶されると同時に表示窓9aに表示
される(ステップS3)。この置数キーによる入力操作
が任意の回数繰り返されることにより任意の桁の数値
(ただし8桁まで)が表示窓9aに表示される。
Then, when F = 0, it is judged whether or not the input data is the input data by the numeric key (step S2). In the case of the numeric key, the numerical value is displayed in the display register 12. Is simultaneously stored in the display window 9a and is displayed (step S3). By repeating the input operation using the numeric keypad any number of times, a numeric value of any digit (up to eight digits) is displayed in the display window 9a.

【0040】そして、次に「+」や「−」などの四則演
算命令キーが操作されると、入力された数値データ
(5、6、3、2.1、など)と、演算命令データ
(+、−、×、÷)と、そのときの丸め状態指定データ
(F、C、5/4)と、桁指定データ(4、2、1、
0、ADD2)とが、アドレスポインタPn(最初はPn=
PO)で指定されているジャーナルメモリの領域16の
レジスタの置数メモリの領域16a、ファンクションメ
モリの領域16b、丸め状態メモリの領域16c、およ
び桁指定メモリの領域16dにそれぞれ記憶される(ス
テップS4)。この演算操作が繰り返される度に、アド
レスポインタPnが順次その次のアドレス指定Pn+1とな
り(ステップS5)、次々と計算処理、計算結果表示が
なされる(ステップS6)。そして、「=」キーが操作
されると答が表示窓9aに表示される。
Then, when the four arithmetic operation instruction keys such as "+" and "-" are operated, the input numerical data (5, 6, 3, 2.1, etc.) and the operation instruction data ( +, −, ×, ÷), rounding state designation data (F, C, 5/4) at that time, and digit designation data (4, 2, 1,
0, ADD2) is the address pointer Pn (initially Pn =
Stored in the register number memory area 16a of the journal memory area 16 designated by PO), the function memory area 16b, the rounding state memory area 16c, and the digit designation memory area 16d (step S4). ). Each time this arithmetic operation is repeated, the address pointer Pn successively becomes the next address designation Pn + 1 (step S5), and calculation processing and calculation result display are performed one after another (step S6). Then, when the "=" key is operated, the answer is displayed in the display window 9a.

【0041】次に、「検算」キー23が操作されると、
検算キー処理ルーチン(図6)が実行され、まず表示窓
9aのメッセージ表示領域に゛検算中″が表示される
(ステップS17)。そして、アドレスポインタPnが
初期のアドレス指定P0になった後、フラグFがF=
1、すなわち検算モードになる(ステップS9、S1
0)。
Next, when the "verification" key 23 is operated,
The verification key processing routine (FIG. 6) is executed, and “verifying” is first displayed in the message display area of the display window 9a (step S17), and after the address pointer Pn becomes the initial address designation P0, Flag F is F =
1, that is, the verification mode (steps S9 and S1)
0).

【0042】また、検算モードになっているときに「検
算」キー23が操作されると、゛検算中″の表示が消去
され(ステップS11)、通常演算モードにもどる(ス
テップS12)。
Further, when the "verification" key 23 is operated in the verification mode, the display of "during verification" is erased (step S11), and the normal operation mode is restored (step S12).

【0043】検算モードでは、置数キー/ファンクショ
ンキー処理ルーチン(図4、図5)において、まずH=
0か否か、すなわち訂正モードになっていないか否かが
判断される(ステップS13)。
In the verification mode, first, in the numerical key / function key processing routine (FIGS. 4 and 5), H =
It is determined whether or not 0, that is, whether or not the correction mode is set (step S13).

【0044】そして、H=0のときにキー入力部5から
データが入力されると、その入力データが置数キーによ
る入力データであるか否かが判断され(ステップS1
4)、置数キーの場合には、その数値が表示レジスタ1
2に記憶されると同時に表示窓9aに表示される(ステ
ップS15)。この置数キーによる入力操作が任意の回
数繰り返されることにより任意の桁の値数(ただし8桁
まで)が表示窓9aに表示される。
When data is input from the key input section 5 when H = 0, it is determined whether or not the input data is input data by the numeric key (step S1).
4) In case of numeric key, the value is displayed in register 1
No. 2 is stored and displayed on the display window 9a at the same time (step S15). By repeating the input operation using the numeric keypad any number of times, the number of values of any digit (however, up to 8 digits) is displayed in the display window 9a.

【0045】次いで、演算命令キーが操作されると、入
力された今回の数値/演算命令/丸め演算状態データ
と、Pnで指定されているジャーナルメモリの領域16
のレジスタに記憶されている前回の数値/演算命令/丸
め演算状態データとが比較される(ステップS16)。
Next, when the operation command key is operated, the input current numerical value / operation command / rounding operation status data and the area 16 of the journal memory designated by Pn.
The previous numerical value / arithmetic instruction / rounding arithmetic state data stored in the register is compared (step S16).

【0046】そして、今回の数値/演算命令/丸め演算
状態データとジャーナルメモリの領域16に記憶されて
いる前記の数値/演算命令/丸め演算状態データとが一
致している場合には、アドレスポインタPnが順次その
次のアドレス指定Pn+1となり(ステップS17)、計
算処理、計算結果表示処理がなされる(ステップS1
8)。
If the present numerical value / arithmetic instruction / rounding arithmetic status data and the numerical value / arithmetic instruction / rounding arithmetic status data stored in the area 16 of the journal memory match, the address pointer Pn sequentially becomes the next address designation Pn + 1 (step S17), and calculation processing and calculation result display processing are performed (step S1).
8).

【0047】上記置数キーと演算命令キーの操作が繰り
返えされる度に、入力された数値/演算命令/丸め演算
状態データとPnで指定されたジャーナルメモリの領域
16の各レジスタに記憶されている数値/演算命令/丸
め演算状態データとが次々と比較され、一致している場
合には、次々と計算処理、計算結果表示処理がなされる
(ステップS16〜S18)。
Each time the operation of the numeric key and the operation command key is repeated, the input numerical value / operation command / rounding operation status data and the registers in the area 16 of the journal memory designated by Pn are stored. The numerical values / arithmetic instructions / rounding arithmetic status data are compared one after another, and if they match, calculation processing and calculation result display processing are performed one after another (steps S16 to S18).

【0048】そして、「=」キーが操作されると計算が
終了され(S19)、表示窓9aのメッセージ表示領域
に、計算が正しかったことを示す゛OK″が表示される
(ステップS20)。
When the "=" key is operated, the calculation is terminated (S19), and "OK" indicating that the calculation was correct is displayed in the message display area of the display window 9a (step S20).

【0049】また、入力された数値/演算命令/丸め演
算状態データと、Pnで指定されたジャーナルメモリの
領域16のレジスタに記憶されている前回の数値/演算
命令/丸め演算状態データとが一致しなかった場合、ス
ピーカ9より警報音が発せられ(ステップS21)、一
致しなかったデータが表示窓9aに点滅表示される(ス
テップS22)。
Further, the inputted numerical value / arithmetic instruction / rounding arithmetic state data and the previous numerical value / arithmetic instruction / rounding arithmetic state data stored in the register of the area 16 of the journal memory designated by Pn are combined. If not, an alarm sound is emitted from the speaker 9 (step S21), and the unmatched data is blinked and displayed on the display window 9a (step S22).

【0050】その後、フラグHがH=1、すなわち訂正
モードになり(ステップS23)、表示窓9aのメッセ
ージ表示領域に゛今回″が表示される(ステップS2
4)。
Thereafter, the flag H becomes H = 1, that is, the correction mode is set (step S23), and "this time" is displayed in the message display area of the display window 9a (step S2).
4).

【0051】訂正モードでは、「確認」キーが押される
と、「確認」キー処理ルーチン(図7)が実行される。
「確認」キーの操作は、フラグFがF=1(検算モー
ド)で且つフラグHがH=1(訂正モード)のときのみ
有効であり、この「確認」キーが押される度に、前回入
力された数値および演算命令記号と今回入力された数値
および演算命令記号とが交互に表示されるとともに、゛
前回″と゛今回″の表示体が交互に表示される(ステッ
プS25〜S27)。
In the correction mode, when the "confirm" key is pressed, the "confirm" key processing routine (FIG. 7) is executed.
The operation of the "confirm" key is valid only when the flag F is F = 1 (verification mode) and the flag H is H = 1 (correction mode). Every time the "confirm" key is pressed, the previous input is performed. The displayed numerical value and arithmetic command symbol and the numerical value and arithmetic command symbol input this time are displayed alternately, and the "previous" and "current" display bodies are displayed alternately (steps S25 to S27).

【0052】そして、置数キーによって前回と同じ正し
い入力がされた後に、演算命令キーによって前回と同じ
正しい入力がされると(ステップS28、S29)、フ
ラグHがH=0になり、訂正モードを終了させる(ステ
ップS30)。
When the same correct input as the previous time is input by the numeric key and the same correct input as the previous time is input by the operation command key (steps S28 and S29), the flag H becomes H = 0, and the correction mode is set. Is terminated (step S30).

【0053】上記訂正処理後、アドレスポインタPnが
その次のアドレス指定Pn+1となった後(ステップS3
1)、計算処理、計算結果表示処理がなされる(ステッ
プS32)。その後、前記ステップS13〜S18と同
様の処理を経て、前回と今回の全ての数値/演算命令/
丸め演算状態データが一致していた場合、「=」キーが
操作されると(ステップS20)、表示窓9aのメッセ
ージ表示領域に゛OK″が表示される(ステップS2
4)。
After the above correction processing, after the address pointer Pn becomes the next address designation Pn + 1 (step S3).
1), calculation processing and calculation result display processing are performed (step S32). After that, through the same processing as the steps S13 to S18, all the numerical values / calculation instructions /
When the rounding operation state data match, when the "=" key is operated (step S20), "OK" is displayed in the message display area of the display window 9a (step S2).
4).

【0054】そして、「AC」キーが押されると、「A
C」キー処理ルーチン(図8)が実行され、以上の通常
演算並びに検算のデータが全て消去された後(ステップ
S33)、アドレスポインタPnが初期のアドレス指定
P0に戻り(ステップS34)、通常演算の入力待ち状
態になる。
When the "AC" key is pressed, "A"
After the "C" key processing routine (FIG. 8) is executed to erase all the normal calculation data and verification data (step S33), the address pointer Pn returns to the initial address designation P0 (step S34), and the normal calculation is performed. The input waits for.

【0055】図9には、前記丸めスイッチ25および小
数点指定スイッチ26の設定状態例と、前記キー入力部
5におけるキー操作例と、そのときの前記表示窓9aの
表示例とが示されている。図中(a)〜(c)は通常演
算モードにおける演算例であり、(d)〜(g)は
(a)〜(c)の操作に続いて行われた検算モードにお
ける演算例である。
FIG. 9 shows an example of setting states of the rounding switch 25 and the decimal point designating switch 26, an example of key operation in the key input section 5, and an example of display of the display window 9a at that time. . In the figure, (a) to (c) are calculation examples in the normal calculation mode, and (d) to (g) are calculation examples in the verification mode performed after the operations of (a) to (c).

【0056】(a)においては、丸めスイッチ25をフ
リーモード゛F″に、小数点指定スイッチ26を2桁モ
ード゛2″に設定した状態で、「5」キー、「+」キ
ー、「6」キー、「÷」キーが順に操作された結果、表
示窓9aに計算値゛11″が表示されている。また、表
示窓9aの演算記号表示部24には、この時点で最後に
操作された演算命令キーの演算記号゛÷″が表示されて
いる。
In (a), with the rounding switch 25 set to the free mode "F" and the decimal point designating switch 26 set to the 2-digit mode "2", the "5" key, the "+" key, and the "6" key are set. As a result of sequentially operating the key and the "÷" key, the calculated value "11" is displayed on the display window 9a. Further, the operation symbol display portion 24 of the display window 9a is operated last at this time. The calculation symbol "÷" of the calculation command key is displayed.

【0057】(b)においては、丸めスイッチ25をカ
ットモード゛C″に切り換えた後、(a)の操作に続い
て「3」キー、「÷」キーが順に操作された結果、小数
点以下2桁未満を切り捨てた計算値゛3.66″と演算
記号゛÷″とが表示されている。
In (b), after the rounding switch 25 is switched to the cut mode "C", the "3" key and the "÷" key are operated in sequence following the operation of (a), resulting in 2 decimal places. The calculated value "3.66" and the operation code "÷", which are rounded down to the nearest whole number, are displayed.

【0058】(c)においては、丸めスイッチ25を四
捨五入モード゛5/4″に、小数点指定スイッチ26を
1桁モード゛1″にそれぞれ切り換えて、(b)の操作
に続いて「2」キー、「.」キー、「1」キーが順に操
作された後、最後に「=」キーが操作されたことによ
り、演算結果を示す数値゛1.7″が表示されている
(以上、前記ステップS1〜S6)。
In (c), the rounding switch 25 is switched to the rounding mode "5/4" and the decimal point designating switch 26 is switched to the one-digit mode "1", and the operation of (b) is followed by the "2" key. , "." Key, "1" key are operated in sequence, and finally "=" key is operated, so that the numerical value "1.7" indicating the calculation result is displayed (above, the step S1 to S6).

【0059】(d)においては、「検算」キー23が操
作されたことにより表示窓9aのメッセージ表示領域に
゛検算中″の表示が点灯し(前記ステップS7、S
8)、その後前回と同じ「5」キー、「+」キー、
「6」キー、「÷」キーが順に操作された結果、計算値
゛11″が表示されている(前記ステップS13、S1
4、S16〜S18)。
In (d), the operation of the "verification" key 23 causes the display of "verifying" to light up in the message display area of the display window 9a (steps S7, S above).
8) After that, the same "5" key, "+" key,
As a result of sequentially operating the "6" key and the "÷" key, the calculated value "11" is displayed (steps S13 and S1 above).
4, S16-S18).

【0060】(e)においては、丸めスイッチ25は前
回と同じカットモード゛C″に設定されているが、小数
点指定スイッチ26が前回と異なる1桁モード゛1″に
設定されたことにより、(d)の操作に続いて「3」キ
ーが操作され、さらに「÷」キーが操作された時点で、
スピーカ9から「ピピ」という報知音が一時的に発せら
れ、表示窓9aのメッセージ表示領域に゛丸め″の表示
体が点滅表示されている(前記ステップS16、S2
1、S22)。このように、前回と異なる丸め演算状態
で演算操作が行われた時点で警報音を鳴らし、誤操作の
内容を示す表示体を点滅表示させることにより、丸め演
算状態の指定に誤りがあったことを入力者に直ちに告知
できる。
In (e), the rounding switch 25 is set to the same cut mode "C" as the previous time, but since the decimal point designating switch 26 is set to the one digit mode "1" different from the previous time, When the "3" key is operated and the "÷" key is further operated after the operation of d),
A loud beeping sound is temporarily emitted from the speaker 9 and the "rounded" display is blinkingly displayed in the message display area of the display window 9a (steps S16 and S2).
1, S22). In this way, when an arithmetic operation is performed in a rounding calculation state different from the previous time, an alarm sound is emitted, and a display body indicating the content of the erroneous operation is displayed in a blinking manner to indicate that the rounding calculation state is specified incorrectly. You can immediately notify the input person.

【0061】(f)においては、小数点指定スイッチ2
6が前回と同じ2桁モード゛2″に設定し直されたこと
により、正しい計算値゛3.66″が表示されている。
In (f), the decimal point designating switch 2
The correct calculated value "3.66" is displayed because 6 was reset to the same 2-digit mode "2" as the previous time.

【0062】(g)においては、丸めスイッチ25を前
回と同じ四捨五入モード゛5/4″に、小数点指定スイ
ッチ26を前回と同じ1桁モード゛1″に切り換えた
後、(f)の操作に続いて「2」キー、「.」キーまで
は前回と同じキー操作がされたが、次に前回と異なる数
字キー「2」キーが操作されたことにより、「=」キー
が操作された時点で、スピーカ9から「ピピ」という警
報音が一時的に発せられ、表示窓9aに今回誤って入力
された数値゛2.2″が点滅表示されるとともに、メッ
セージ表示領域に゛今回″の表示体が表示されている
(前記ステップS16、S21〜S24)。
In (g), after changing the rounding switch 25 to the same rounding mode "5/4" as the previous time and the decimal point designating switch 26 to the same one digit mode "1" as the previous time, the operation of (f) is performed. Next, the same key operation as the previous time was performed up to the "2" key and the "." Key, but the number key "2" key different from the last time was operated, so that the "=" key was operated Then, the alarm sound “pi-pi” is temporarily emitted from the speaker 9, the numerically input value “2.2” which is erroneously input this time is displayed blinking on the display window 9a, and “this time” is displayed in the message display area. The body is displayed (steps S16, S21 to S24).

【0063】以上のように、前回のデータと一致しない
データを表示窓9aに点滅表示させることで、入力操作
あるいは丸め演算状態の指定に誤りがあったことを入力
者に確実に知らせることができ、またどのような誤りで
あったかを入力者に認識させることができる。
As described above, by blinking the data that does not match the previous data in the display window 9a, the input person can be surely notified that there is an error in the input operation or the designation of the rounding calculation state. Moreover, the input person can be made to recognize what kind of error was made.

【0064】また、本実施例の電子計算機1は、「確
認」キーを押すことにより前回の数値および演算命令デ
ータと今回の数値および演算命令データとを表示窓9a
に交互に表示できるようになっているので、前回の入力
値を表示窓9a上で確認して即座に誤りを訂正すること
ができる。
Further, in the electronic computer 1 of this embodiment, by pressing the "confirm" key, the previous numerical value and arithmetic instruction data and the present numerical value and arithmetic instruction data are displayed on the display window 9a.
Since it can be displayed alternately, the previous input value can be confirmed on the display window 9a and the error can be immediately corrected.

【0065】なお、本発明の電子計算機は上記実施例の
構成に限定されるものではない。例えば、上記実施例で
は、小数点以下何桁まで求めるかを指定するための小数
点指定スイッチ26と、小数点指定スイッチ26で指定
された桁の下1桁を切り捨てるか四捨五入するかを指定
するための丸めスイッチ25とを備えている場合につい
て説明したが、小数点以下の一定の桁数まで求めるよう
に桁数が固定された機種の場合は小数点指定スイッチ2
6は不要であることは言うまでもない。
The computer of the present invention is not limited to the configuration of the above embodiment. For example, in the above-described embodiment, the decimal point designating switch 26 for designating how many digits to the right of the decimal point are calculated, and the rounding for designating whether to round down or round off the last one digit designated by the decimal point designating switch 26. The case where the switch 25 is provided has been described, but in the case of a model in which the number of digits is fixed so as to obtain a fixed number of digits below the decimal point, the decimal point designation switch 2
It goes without saying that 6 is unnecessary.

【0066】また、上記実施例では、「確認」キーを押
すことにより前回の入力値と今回の入力値とを交互に表
示できるようにしたが、検算中に誤入力があった場合、
前回の入力値と今回の入力値とが一定時間毎に交互に自
動表示されるようにしてもよい。
In the above embodiment, the previous input value and the current input value can be displayed alternately by pressing the "confirm" key. However, if there is an erroneous input during verification,
The previous input value and the current input value may be automatically displayed alternately at regular intervals.

【0067】[0067]

【発明の効果】以上要するに、本発明によれば以下のご
とき優れた効果を発揮することができる。
In summary, according to the present invention, the following excellent effects can be exhibited.

【0068】請求項1に記載された電子計算機によれ
ば、演算式データを入力して演算を行った後、再度演算
式データを入力して検算する際、入力操作あるいは丸め
状態が前回と異なっていると、前回のデータと今回のデ
ータとが一致しないとして直ちに報知がなされるので、
その後の無駄な入力操作を防止し、操作性を向上でき
る。
According to the electronic computer of the first aspect, when the arithmetic expression data is input and the arithmetic operation is performed, when the arithmetic expression data is input again for verification, the input operation or the rounding state is different from the previous time. If so, the previous data and this time data will not be matched and will be notified immediately, so
It is possible to prevent unnecessary input operations thereafter and improve operability.

【0069】また、請求項2に記載された電子計算機に
よれば、演算手段によって導かれた演算結果に対して桁
数指定、桁数指定で四捨五入、桁数指定無しのいずれの
丸め状態で丸め処理を行うかを指定できる。
Further, according to the electronic computer of the second aspect, the calculation result derived by the calculation means is rounded in any rounding state of digit number designation, rounding with digit number designation, and no digit number designation. You can specify whether to process.

【0070】また、請求項3に記載された電子計算機に
よれば、演算手段によって導かれた演算結果の小数点以
下の桁数を指定し、さらに指定された桁数以下を切捨又
は四捨五入のいずれの丸め状態で丸め処理を行うかを指
定できる。
According to the electronic computer of the third aspect, the number of digits below the decimal point of the operation result derived by the operation means is designated, and the number of digits below the designated digit is either rounded down or rounded down. You can specify whether to perform the rounding process in the rounded state.

【0071】また、請求項4に記載された電子計算機に
よれば、新たに演算命令データが入力される毎にそのと
きの丸め指示の状態と、前回その演算命令データが入力
された時における丸め指示の状態との一致が検出され、
一致しないときには直ちに報知がなされるので、その後
の無駄な入力操作を防止し、操作性を向上できる。
According to the electronic computer of the fourth aspect, the state of the rounding instruction at each new input of the operation instruction data and the rounding when the operation instruction data was input last time A match with the state of the instruction is detected,
When they do not match, a notification is given immediately, so that useless input operation thereafter can be prevented and operability can be improved.

【0072】また、請求項5に記載された電子計算機に
よれば、一致しないデータを表示手段に点滅表示させる
ことで、入力操作あるいは丸め指定の状態に誤りがあっ
たことを入力者に報知できるとともに、どのような誤り
であるかを入力者に認識させることができる。
Further, according to the electronic computer of the fifth aspect, it is possible to notify the input person that the input operation or the rounding designation state has an error by causing the display means to blink the inconsistent data. At the same time, the input person can be made to recognize what kind of error is made.

【0073】また、請求項6に記載された電子計算機に
よれば、一致していないデータに対応した表示データを
表示手段に表示させることで、入力操作あるいは丸め指
定の状態に誤りがあったことを入力者に報知できるとと
もに、どのような誤りであるかを入力者に認識させるこ
とができる。
Further, according to the electronic computer of the sixth aspect, by displaying the display data corresponding to the inconsistent data on the display means, there is an error in the state of the input operation or the rounding designation. Can be notified to the input person, and the input person can be made aware of what kind of error is made.

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

【図1】本発明の一実施例の電子計算機の基本構成を示
す回路構成図である。
FIG. 1 is a circuit configuration diagram showing a basic configuration of an electronic computer according to an embodiment of the present invention.

【図2】上記実施例の電子計算機のメモリ領域の構成を
示す図である。
FIG. 2 is a diagram showing a configuration of a memory area of the electronic computer of the above embodiment.

【図3】上記実施例の電子計算機の外観を示す平面図で
ある。
FIG. 3 is a plan view showing the external appearance of the electronic computer of the above embodiment.

【図4】上記実施例の電子計算機の動作を説明するため
のフローチャート(置数キー/ファンクションキー処理
ルーチン)である。
FIG. 4 is a flowchart (numerical key / function key processing routine) for explaining the operation of the electronic computer of the above embodiment.

【図5】上記実施例の電子計算機の動作を説明するため
のフローチャート(置数キー/ファンクションキー処理
ルーチン)である。
FIG. 5 is a flowchart (numerical key / function key processing routine) for explaining the operation of the electronic computer of the above embodiment.

【図6】上記実施例の電子計算機の動作を説明するため
のフローチャート(検算キー処理ルーチン)である。
FIG. 6 is a flowchart (verification key processing routine) for explaining the operation of the electronic computer of the above embodiment.

【図7】上記実施例の電子計算機の動作を説明するため
のフローチャート(「確認」キー処理ルーチン)であ
る。
FIG. 7 is a flowchart (“confirmation” key processing routine) for explaining the operation of the electronic computer of the above embodiment.

【図8】上記実施例の電子計算機の動作を説明するため
のフローチャート(「AC」キー処理ルーチン)であ
る。
FIG. 8 is a flowchart (“AC” key processing routine) for explaining the operation of the electronic computer of the above embodiment.

【図9】上記実施例の電子計算機の丸めスイッチおよび
小数点指定スイッチの設定状態例と、キー入力部におけ
るキー操作例と、そのときの前記表示窓の表示例とを対
応させて示した図である。
FIG. 9 is a diagram showing an example of setting states of the rounding switch and the decimal point designating switch of the computer of the above embodiment, an example of key operation in the key input section, and an example of display of the display window at that time. is there.

【符号の説明】[Explanation of symbols]

1 電子計算機 2 中央演算処理装置(CPU、演算手段、丸め処理手
段、検出手段、報知手段) 3 読み出し専用メモリ(ROM、記憶手段) 4 随時書き込み読み出しメモリ(RAM) 5 キー入力部(入力手段) 6 桁数入力部 7 演算条件入力部 8 表示駆動回路 9 表示部(表示手段、報知手段) 9a 表示窓(表示手段) 10 増幅回路 11 スピーカ(報知手段) 12 表示レジスタの領域(置数入力レジスタの領域) 13 演算用レジスタの領域 16 ジャーナルメモリの領域(記憶手段) 18 操作面 19 置数キー群 20 演算命令キー群 21 命令キー群 23 検算キー 24 演算記号表示部 25 丸めスイッチ(丸め指示手段、切捨指定手段) 26 小数点指定スイッチ(丸め指示手段、桁数指定手
段)
1 electronic computer 2 central processing unit (CPU, calculation means, rounding processing means, detection means, notification means) 3 read only memory (ROM, storage means) 4 occasional write / read memory (RAM) 5 key input section (input means) 6 Digit Number Input Section 7 Calculation Condition Input Section 8 Display Drive Circuit 9 Display Section (Display Means, Notification Means) 9a Display Window (Display Means) 10 Amplifier Circuit 11 Speaker (Notification Means) 12 Display Register Area (Numerical Input Register 13 area of operation register 16 area of journal memory (storing means) 18 operation surface 19 numeric key group 20 operation instruction key group 21 instruction key group 23 verification key 24 operation symbol display section 25 rounding switch (rounding instruction means) , Rounding down specifying means) 26 Decimal point specifying switch (rounding indicating means, digit number specifying means)

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】入力された一連の演算式データを記憶し、
新たに入力された演算式データと前記記憶された演算式
データとを比較することで検算を行う検算機能を備えた
電子計算機において、 演算式データを入力する入力手段と、 この入力手段により入力された演算式データに基づいて
演算を実行する演算手段と、 この演算手段による演算の丸めを指示する丸め指示手段
と、 この丸め指示手段によって指定された丸めで前記演算手
段による演算結果を丸める丸め処理手段と、 前記丸め指示手段の丸め指示の状態と前記入力手段によ
り入力された演算式データとを対応させて記憶する記憶
手段と、 新たに入力された演算式データとその時の丸め指示手段
の状態と、前記記憶手段に記憶されている演算式データ
と丸め指示の状態との一致を検出する検出手段と、 この検出手段により演算式データ又は丸め指示状態の少
なくとも一方が一致していないと検出された際に報知を
行う報知手段と、 を備えたことを特徴とする電子計算機。
1. A series of input arithmetic expression data is stored,
In an electronic computer having a verification function for performing verification by comparing newly input arithmetic expression data with the stored arithmetic expression data, an input means for inputting arithmetic expression data, and an input means for inputting the arithmetic expression data And a rounding instruction means for instructing the rounding of the operation by the operation means, and a rounding process for rounding the operation result by the operation means by the rounding designated by the rounding instruction means. Means, storage means for storing the rounding instruction state of the rounding instruction means and the arithmetic expression data input by the input means in association with each other, newly input arithmetic expression data and the state of the rounding instruction means at that time And detecting means for detecting a match between the arithmetic expression data stored in the storage means and the state of the rounding instruction, and the detecting means for calculating the arithmetic expression data or An electronic calculator comprising: a notification unit that notifies when at least one of the rounding instruction states is not matched.
【請求項2】前記丸め指示手段は上記演算手段によって
導かれた演算結果について桁数指定、桁数指定で四捨五
入、桁数指定無しのいずれかを指定する丸め指示手段で
あることを特徴とする請求項1記載の電子計算機。
2. The rounding instructing means is a rounding instructing means for designating a digit number designation, rounding with digit number designation, or no digit number designation for the calculation result derived by the calculation means. The electronic computer according to claim 1.
【請求項3】前記前記丸め指示手段は上記演算手段によ
って導かれた演算結果について小数点以下の桁数を指定
する桁数指定手段と、 この桁数指定手段によって指定された小数点以下の桁数
となるように指定された桁数以下の切捨又は四捨五入を
指示する切捨指定手段とを備えた丸め指示手段であるこ
とを特徴とする請求項1記載の電子計算機。
3. The rounding instructing means includes a digit number designating means for designating the number of digits below the decimal point with respect to the calculation result derived by the computing means, and a number of digits below the decimal point designated by the digit number designating means. 2. The computer according to claim 1, which is a rounding instructing means including a rounding-down specifying means for instructing a rounding down or a rounding down of the number of digits designated as below.
【請求項4】前記記憶手段は前記入力手段により入力さ
れる演算式データに含まれる演算命令データ(+、−、
×、÷)毎に前記丸め指示手段による丸め指示の状態を
記憶し、 前記検出手段は新たに入力される演算式データ中の演算
命令データが入力される毎に演算式データとその時の丸
め指示手段の状態と、前記記憶手段に記憶されている演
算式データと丸め指示の状態との一致を検出する検出手
段であることを特徴とする請求項1、2又は3記載の電
子計算機。
4. The storage means stores arithmetic command data (+, −,) included in arithmetic expression data input by the input means.
X, ÷) stores the state of the rounding instruction by the rounding instruction means, and the detecting means stores the arithmetic expression data and the rounding instruction at that time each time the operation instruction data in the newly input arithmetic expression data is input. 4. The electronic computer according to claim 1, 2 or 3, which is a detection unit that detects a match between the state of the means and the state of the rounding instruction and the arithmetic expression data stored in the storage unit.
【請求項5】前記報知手段は一致していないデータを点
滅表示する表示手段を備えたことを特徴とする請求項1
記載の電子計算機。
5. The informing means comprises display means for blinking display of inconsistent data.
Electronic calculator as described.
【請求項6】前記報知手段は一致していないデータに対
応した表示データを表示する表示手段を備えたことを特
徴とする請求項1記載の電子計算機。
6. The electronic computer according to claim 1, wherein said notifying means comprises display means for displaying display data corresponding to data that does not match.
JP05649095A 1994-12-01 1995-02-20 Electronic computer Expired - Fee Related JP3693262B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP05649095A JP3693262B2 (en) 1995-02-20 1995-02-20 Electronic computer
TW084105503A TW283223B (en) 1994-12-01 1995-05-31
US08/560,894 US5870318A (en) 1994-12-01 1995-11-20 Computers with a proof function
EP95118484A EP0715263B1 (en) 1994-12-01 1995-11-23 Computer with a proof function
DE69530461T DE69530461T2 (en) 1994-12-01 1995-11-23 Calculator with test function
MYPI95003626A MY113894A (en) 1994-12-01 1995-11-25 "computers with a proof function"
KR1019950045768A KR100246519B1 (en) 1994-12-01 1995-11-30 Computer with a proof function
CN95117574A CN1095131C (en) 1994-12-01 1995-12-01 Computers with a proof function
US08/940,614 US6026449A (en) 1995-02-14 1997-09-30 Computers with a proof function
HK98114753A HK1013471A1 (en) 1994-12-01 1998-12-22 Computer with a proof function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05649095A JP3693262B2 (en) 1995-02-20 1995-02-20 Electronic computer

Publications (2)

Publication Number Publication Date
JPH08227400A true JPH08227400A (en) 1996-09-03
JP3693262B2 JP3693262B2 (en) 2005-09-07

Family

ID=13028543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05649095A Expired - Fee Related JP3693262B2 (en) 1994-12-01 1995-02-20 Electronic computer

Country Status (1)

Country Link
JP (1) JP3693262B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005173735A (en) * 2003-12-08 2005-06-30 Sap Ag Purchase request support device, method, and program
JP2016177486A (en) * 2015-03-19 2016-10-06 カシオ計算機株式会社 Electronic device and calculation processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005173735A (en) * 2003-12-08 2005-06-30 Sap Ag Purchase request support device, method, and program
JP2016177486A (en) * 2015-03-19 2016-10-06 カシオ計算機株式会社 Electronic device and calculation processing program

Also Published As

Publication number Publication date
JP3693262B2 (en) 2005-09-07

Similar Documents

Publication Publication Date Title
JP3508277B2 (en) Electronic computer
JPH08227400A (en) Electronic computer
JPH08297640A (en) Electronic equipment
KR100246519B1 (en) Computer with a proof function
US5886910A (en) Computer with a check function
JPH08221368A (en) Electronic computer
JPH08227399A (en) Electronic computer
US6026449A (en) Computers with a proof function
JPH06168104A (en) Electronic computer
JP3557645B2 (en) Electronic computer
JPS5924361A (en) Display system of date
JPH08161270A (en) Electronic computer
JPH0916525A (en) Electronic computer with check function
JPH1049502A (en) Checking device
JP3743869B2 (en) Electronic computing device
JP2005346555A (en) Electronic apparatus
JPH0610434Y2 (en) Small electronic calculator
JPH11167554A (en) Electronic desktop computer
JPH0622014B2 (en) Data processing device password calling method
JPH09146890A (en) Electronic computer
JPH05324564A (en) Electronic computer
JPH0628317A (en) Comuputer
JPH031695B2 (en)
JPH0622012B2 (en) Data processing device password calling method
JPH0635906A (en) Table calculation processor

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040204

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040209

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050617

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090701

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100701

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110701

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110701

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130701

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees