JP2006126933A - Computer equipped with error announcing function and its method - Google Patents

Computer equipped with error announcing function and its method Download PDF

Info

Publication number
JP2006126933A
JP2006126933A JP2004310999A JP2004310999A JP2006126933A JP 2006126933 A JP2006126933 A JP 2006126933A JP 2004310999 A JP2004310999 A JP 2004310999A JP 2004310999 A JP2004310999 A JP 2004310999A JP 2006126933 A JP2006126933 A JP 2006126933A
Authority
JP
Japan
Prior art keywords
arithmetic
arithmetic expression
calculation
error
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004310999A
Other languages
Japanese (ja)
Inventor
Chih-Cheng Chien
志成 簡
You-Shiv Li
酋緒 李
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.)
Kinpo Electronics Inc
Original Assignee
Kinpo Electronics Inc
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 Kinpo Electronics Inc filed Critical Kinpo Electronics Inc
Priority to JP2004310999A priority Critical patent/JP2006126933A/en
Publication of JP2006126933A publication Critical patent/JP2006126933A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a computer equipped with an error announcing function and its method. <P>SOLUTION: An arithmetic expression composed by a plurality of arithmetic units is inputted to a computer, and the arithmetic expression is temporarily stored. Afterwards, the arithmetic expression is compared with a plurality of predetermined arithmetic rules forming an arithmetic error, and any error section in the arithmetic expression is searched, and the error section is noticed in the temporarily stored arithmetic expression. Finally, the arithmetic expression is displayed, and the error section in the arithmetic expression displayed by the noticed error section is displayed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は演算用の電子製品に係り,特にエラー告知機能を具えた計算機及びその方法に関する。   The present invention relates to an electronic product for calculation, and more particularly to a computer having an error notification function and a method thereof.

電子テクノロジーの進歩に伴い、計算機は次第に以前のペンと紙を使用する人工算数方式の代わりに用いられるようになり、それは、加減乗除の基本演算機能のほか、更に複雑な数学演算機能、例えば三角関数とハイレベル演算等を提供し、使用者が迅速に簡単な演算式の数値或いは複雑な高等数学演算式の数値を計算できるようにする。   With the advance of electronic technology, computers are gradually being used instead of the previous artificial arithmetic method using pen and paper, which includes basic arithmetic functions for addition, subtraction, multiplication and division as well as more complex mathematical arithmetic functions such as triangles. Functions and high-level operations are provided so that the user can quickly calculate simple arithmetic numerical values or complex higher mathematical arithmetic numerical values.

しかし,計算機を使用する時、経常的に演算式中に計算機が受け入れることのできない数値、例えば除数が「0」とされたり、不当な関数パラメータ、或いは演算の結果値の桁数が過大で桁数オーバーが形成される。これにより計算機にエラーの情報が発生し、並びに苦労して入力した演算式が失われてしまうことがある。このほか、使用者はただエラー情報を入力するだけで演算過程にエラーが出現したことを知る事ができるが、却って入力した演算式のどこが間違っているのかを察知することができず、このため、使用上のトラブルと不便を形成し、ゆえに前述の計算機には改善の余地がある。   However, when using a computer, a numerical value that is not normally accepted by the computer in an arithmetic expression, for example, a divisor is set to “0”, an invalid function parameter, or the number of digits of the result value of an operation is excessive. A number over is formed. As a result, error information may be generated in the computer, and arithmetic expressions that have been input with difficulty may be lost. In addition to this, the user can know that an error has occurred in the calculation process just by entering error information, but it cannot detect where the calculation formula entered on the contrary is wrong. This creates troubles and inconveniences in use, so there is room for improvement in the aforementioned computer.

本発明の主要な目的は、不当な演算式を入力することによりエラーが形成される時、機器の運転停止と使用者が改めて演算式を入力しなければならなくなる不便を防止するエラー告知機能を具えた計算機及びその方法を提供することにある。   The main object of the present invention is to provide an error notification function for preventing an inconvenience that an operation is stopped and a user has to input an arithmetic expression again when an error is formed by inputting an illegal arithmetic expression. It is to provide a provided computer and a method thereof.

請求項1の発明は、エラー告知機能を具えた計算機において、
複数の演算ユニットで組成された演算式の入力に用いられる入力ユニットと、
該演算式を保存する保存ユニットと、
演算エラーを形成する複数の演算規則を保存する規則ユニットと、
入力された演算式及びその演算結果を表示する表示ユニットと、
入力された該演算式を実行する処理ユニットと、
を具え、そのうち、該処理ユニットは入力された該演算式を実行する前に、該演算式と規則ユニット中の演算規則を比較して該演算式のエラー部分を探し出し、並びに註記し、且つ註記したエラー部分により表示された演算式中のエラー部分を表示することを特徴とする、エラー告知機能を具えた計算機としている。
請求項2の発明は、請求項1記載のエラー告知機能を具えた計算機において、処理ユニットが演算式を実行する時には、まず演算式中より演算単位を取り出し並びにそれを註記し、更に該演算単位に対して演算を実行し、演算結果の数値が処理ユニットの許容する桁数を超過する時、処理ユニットが註記の目標演算単位により演算式中の桁数オーバーの部分を表示することを特徴とする、エラー告知機能を具えた計算機としている。
請求項3の発明は、エラー告知機能を具えた計算機の演算方法において、
(A)複数の演算単位で組成された演算式を入力するステップと、
(B)該演算式を暫時保存するステップと、
(C)該演算式と演算エラーを形成する所定の複数の演算規則を比較し、該演算式中のエラー部分を探し出すステップと、
(D)エラー部分を暫時保存された演算式に註記するステップと、
(E)演算式を表示し並びに註記されたエラー部分により表示した演算式中のエラー部分を表示するステップと、
を具えたことを特徴とする、エラー告知機能を具えた計算機の演算方法としている。
請求項4の発明は、請求項3記載のエラー告知機能を具えた計算機の演算方法において、(C)のステップで演算式中のエラー部分が見つからず入力された演算式が正確であると確定した時は、更に、
(G)演算式中より演算を行なう目標演算単位を取り出すステップと、
(H)これら目標演算単位を暫時保存した演算式に註記するステップと、
(I)目標演算単位に対して演算を実行し、そのうち、演算結果の数値が許容桁数を超過する時、演算式を表示し並びに註記された目標演算単位により表示された演算式中の註記された目標演算単位を表示するステップと、
を実行することを特徴とする、エラー告知機能を具えた計算機の演算方法としている。
The invention of claim 1 is a computer having an error notification function.
An input unit used to input an arithmetic expression composed of a plurality of arithmetic units;
A storage unit for storing the arithmetic expression;
A rule unit for storing a plurality of calculation rules forming an operation error;
A display unit for displaying the input arithmetic expression and the operation result;
A processing unit for executing the input arithmetic expression;
Of which the processing unit compares the arithmetic expression with the arithmetic rule in the rule unit to find out an error part of the arithmetic expression before writing the input arithmetic expression. The computer having the error notification function is characterized in that the error part in the arithmetic expression displayed by the error part is displayed.
The invention according to claim 2 is the computer having the error notification function according to claim 1, wherein when the processing unit executes the arithmetic expression, the arithmetic unit is first taken out from the arithmetic expression and written, and the arithmetic unit is further recorded. When the number of digits of the calculation result exceeds the number of digits allowed by the processing unit, the processing unit displays the part of the number of digits in the calculation formula with the target calculation unit described above. The computer has an error notification function.
The invention of claim 3 is an operation method of a computer having an error notification function.
(A) inputting an arithmetic expression composed of a plurality of arithmetic units;
(B) storing the arithmetic expression for a while;
(C) comparing the arithmetic expression with a predetermined plurality of arithmetic rules forming an arithmetic error, and searching for an error part in the arithmetic expression;
(D) writing the error part in the arithmetic expression stored for a while;
(E) displaying an arithmetic expression and displaying an error part in the arithmetic expression displayed by the error part marked;
This is a calculation method of a computer having an error notification function.
According to a fourth aspect of the present invention, in the calculation method of the computer having the error notification function according to the third aspect, in step (C), an error is not found in the arithmetic expression, and the input arithmetic expression is determined to be accurate. When you do,
(G) extracting a target calculation unit for calculation from the calculation formula;
(H) Steps to record these target calculation units in a calculation expression stored for a while;
(I) When a calculation is performed on the target calculation unit, and the numerical value of the calculation result exceeds the allowable number of digits, the calculation expression is displayed and the note in the calculation expression displayed by the target calculation unit indicated. Displaying the calculated target calculation unit;
This is a calculation method of a computer having an error notification function.

本発明によると、エラー告知機能を具えた計算機は、複数の演算単位で組成された演算式の入力に用いられる入力ユニットと、該演算式を保存する保存ユニットと、演算エラーを形成する複数の演算規則を保存する規則ユニットと、入力された演算式及びその演算結果を表示する表示ユニットと、入力された該演算式を実行する処理ユニットと、を具え、そのうち、該処理ユニットは入力された該演算式を実行する前に、該演算式と規則ユニット中の演算規則を比較して該演算式のエラー部分を探し出し、並びに註記し、且つ註記したエラー部分により表示された演算式中のエラー部分を表示する。   According to the present invention, a computer having an error notification function includes an input unit used for inputting an arithmetic expression composed of a plurality of arithmetic units, a storage unit for storing the arithmetic expression, and a plurality of arithmetic errors. A rule unit for storing an operation rule; a display unit for displaying an input operation expression and its operation result; and a processing unit for executing the input operation expression, of which the processing unit is input Before executing the arithmetic expression, the arithmetic expression is compared with the arithmetic rules in the rule unit to find the error part of the arithmetic expression, and the error in the arithmetic expression displayed by the written error part Display the part.

本発明によると、エラー告知機能を具えた計算機の演算方法は、(A)複数の演算単位で組成された演算式を入力するステップと、(B)該演算式を暫時保存するステップと、(C)該演算式と演算エラーを形成する所定の複数の演算規則を比較し、該演算式中のエラー部分を探し出すステップと、(D)エラー部分を暫時保存された演算式に註記するステップと、(E)演算式を表示し並びに註記されたエラー部分により表示した演算式中のエラー部分を表示するステップと、を具えている。   According to the present invention, a calculation method of a computer having an error notification function includes (A) a step of inputting a calculation formula composed of a plurality of calculation units, (B) a step of temporarily storing the calculation formula, C) comparing the arithmetic expression with a predetermined plurality of arithmetic rules forming an arithmetic error, searching for an error part in the arithmetic expression, and (D) recording the error part in the arithmetic expression stored for a while. And (E) displaying an arithmetic expression and displaying an error part in the arithmetic expression displayed by the error part marked.

本発明のエラー告知機能を具えた計算機については、図1のブロック図を参照されたい。それは、入力ユニット11、保存ユニット12、演算式規則ユニット13、表示ユニット14及び処理ユニット15を具えている。そのうち、前述の入力ユニット11は使用者がデータ或いは制御命令を計算機に入力して操作或いは演算を行なうのに用いられ、例えば、入力ユニット11により演算式を入力して処理ユニット15により実行できる。前述の演算式は、演算元、演算子、関数、或いはパラメータ等の演算単位で組成され、前述の保存ユニット12は計算機の制御プログラムを保存し入力された演算式、演算過程の数値及び演算結果等のデータを暫時保存し、前述の表示ユニット14は計算機の出力データを表示し、該出力データは入力された演算式及び演算結果を包含する。   Refer to the block diagram of FIG. 1 for the computer having the error notification function of the present invention. It comprises an input unit 11, a storage unit 12, an arithmetic rule unit 13, a display unit 14 and a processing unit 15. Among them, the above-mentioned input unit 11 is used when a user inputs data or a control command to a computer to perform an operation or calculation. For example, the input unit 11 can input an arithmetic expression and execute it by the processing unit 15. The aforementioned arithmetic expression is composed of arithmetic units such as an operation source, an operator, a function, or a parameter. The aforementioned storage unit 12 stores the computer control program and inputs the arithmetic expression, the numerical value of the arithmetic process, and the arithmetic result. The display unit 14 displays the output data of the computer, and the output data includes the input arithmetic expression and the operation result.

前述の演算式規則ユニット13は演算エラーを形成する複数の演算規則、例えば以下のような規則即ち、〔規則1〕除数が0即ち演算式中に「/0」が出現;〔規則2〕括弧不対称:演算式中の左括弧と右括弧の数が異なる;〔規則3〕不当な関数パラメータ即ち演算式中の関数のパラメータが該関数が演算できるタイプでない(例えばsin(45+A)中、Aが変数であり数値でない)、を保存する。この演算式規則ユニット13の提供する演算エラーを形成する演算規則により、使用者が入力した演算式と各規則を比較し、演算式エラー部分を探し出し並びに使用者に告知する。   The arithmetic expression rule unit 13 has a plurality of arithmetic rules forming an operation error, for example, the following rules: [Rule 1] The divisor is 0, that is, “/ 0” appears in the arithmetic expression; [Rule 2] parentheses Asymmetry: The number of left and right parentheses in an arithmetic expression is different; [Rule 3] An illegal function parameter, that is, a parameter of a function in an arithmetic expression is not a type that the function can operate (for example, A in sin (45 + A) Is a variable and not a number). Based on the calculation rule forming the calculation error provided by the calculation formula rule unit 13, the calculation formula input by the user is compared with each rule to find the calculation formula error part and notify the user.

図2は前述のエラー告知機能を具えた計算機の制御フローチャートであり、まず、使用者が入力ユニット11で演算式をキー入力する(ステップS201)。続いて、使用者がエンター(ENTER)キーを押して該演算式の入力を確定する(ステップS202)。この入力した演算式を保存ユニット12に暫時保存する(ステップS203)。   FIG. 2 is a control flowchart of the computer having the above-described error notification function. First, the user inputs an arithmetic expression using the input unit 11 (step S201). Subsequently, the user presses the enter key to confirm the input of the arithmetic expression (step S202). The inputted arithmetic expression is temporarily stored in the storage unit 12 (step S203).

ステップS204では、処理ユニット15が該演算式を前述の演算式規則ユニット13中の規則と比較し、該演算式中のエラー部分を探し出し、並びにこのエラー部分を保存ユニット12に保存した演算式に註記する。そのうち、入力した演算式にエラー部分がある時、処理ユニット15はエラー情報を表示ユニット14上に表示する(ステップS205)。更に保存ユニット12に暫時保存された演算式を取り出し(ステップS206)、並びに註記されたエラー部分により、表示された演算式中にエラー部分を表示し(ステップS207)、使用者に演算式エラーを形成する部分を知らせる。このほか、処理ユニット15は演算式規則ユニット13中の規則により改修方式の提示を提供し(ステップS209)、改修完成後に更にエンター(ENTER)キーを押せば、改めて該演算式を実行する。   In step S204, the processing unit 15 compares the arithmetic expression with the rules in the arithmetic expression rule unit 13, finds an error part in the arithmetic expression rule, and converts the error part into the arithmetic expression stored in the storage unit 12. Write down. Among them, when there is an error part in the inputted arithmetic expression, the processing unit 15 displays error information on the display unit 14 (step S205). Further, the arithmetic expression stored for a while in the storage unit 12 is taken out (step S206), and the error part is displayed in the displayed arithmetic expression by the error part marked (step S207), and the arithmetic expression error is indicated to the user. Inform the part to be formed. In addition, the processing unit 15 provides the presentation of the repair method according to the rules in the arithmetic formula rule unit 13 (step S209), and when the ENTER key is pressed after the completion of the repair, the arithmetic formula is executed again.

ステップS204で演算式と演算式規則ユニット13中の規則を比較して入力した演算式が正確であると確定した時、処理ユニット15は該演算式の実行開始し、それはまず演算式中より演算元、演算子、関数、或いはパラメータ等を包含する演算を行ないたい目標演算単位を取り出す(ステップS211)。同時にこの目標演算単位を保存ユニット12に暫時保存された演算式に註記する(ステップS212)。更に目標演算単位に対して実際に演算を実行する(ステップS213)。この演算中、もし演算結果の数値が処理ユニット15の許容する桁数を超過すれば(ステップS214)、ステップS205からS209を実行し、エラー情報を表示ユニット14に表示し(ステップ205)、並びに保存ユニット12より暫時保存された演算式を取り出し(ステップ206)、且つ註記された目標演算単位により表示された演算式中に桁オーバーを形成する部分を表示し(ステップS207)、並びに改修方式を提示し(ステップS208)、最後に使用者が入力ユニット11により改修を行ない(ステップS209)、その後、エンター(ENTER)キーを押して改めて該演算式を実行し、更に上述の演算ステップを重複して行なう。   In step S204, when the arithmetic expression and the rule in the arithmetic expression rule unit 13 are compared and the input arithmetic expression is determined to be accurate, the processing unit 15 starts executing the arithmetic expression. A target calculation unit to be calculated including elements, operators, functions, parameters, etc. is extracted (step S211). At the same time, this target calculation unit is written in the calculation formula stored for a while in the storage unit 12 (step S212). Further, the calculation is actually executed for the target calculation unit (step S213). During this calculation, if the numerical value of the calculation result exceeds the number of digits allowed by the processing unit 15 (step S214), steps S205 to S209 are executed, error information is displayed on the display unit 14 (step 205), and The arithmetic expression stored for a while is taken out from the storage unit 12 (step 206), and the part forming the digit over is displayed in the arithmetic expression displayed by the target arithmetic unit described (step S207). Present (step S208), and finally the user performs modification by the input unit 11 (step S209), and then presses the enter key to execute the calculation formula again, and further overlaps the above calculation steps. Do.

前述のステップS214のように演算結果の数値を判定し並びに処理ユニット15の許容する桁数を未超過であれば、続いてステップS211からS213を実行し、演算が完成すると結果を表示ユニット14に表示する。   As in step S214 described above, the numerical value of the calculation result is determined, and if the number of digits allowed by the processing unit 15 is not exceeded, steps S211 to S213 are subsequently executed. When the calculation is completed, the result is displayed on the display unit 14. indicate.

図3は本発明のエラー告知機能を具えた計算機に演算式を入力して演算を行なう例を示す。そのうち、使用者がキー入力する演算式は、((10+8)/0)×(4+9)である。使用者がエンターキーを押した後、処理ユニット15が演算式と演算式規則ユニット13中の規則を比較し、演算式に「/0」のエラーがあると発見すると、それを註記し、同時に表示ユニット14上にエラー情報を表示する(図3中のB)。処理ユニット15は更に註記により演算式中にあって白黒反転或いはちらつき方式で「/0」の部分を表示し(図3のC)並びに改修方式を提示する(図3のD)。更に使用者は入力ユニット11により改修を行ない(図3のE)、改修完成後に更に使用者がエンターキーを押すと改めて演算式を実行して正確な結果を得る(図3のF)。   FIG. 3 shows an example in which an arithmetic expression is input to a computer having an error notification function of the present invention to perform the calculation. Among them, the arithmetic expression that the user inputs is ((10 + 8) / 0) × (4 + 9). After the user presses the enter key, the processing unit 15 compares the arithmetic expression with the rule in the arithmetic expression rule unit 13 and finds that there is an error of “/ 0” in the arithmetic expression. Error information is displayed on the display unit 14 (B in FIG. 3). The processing unit 15 further displays the part of “/ 0” in the black and white reversal or flicker method (C in FIG. 3) and presents the repair method (D in FIG. 3). Further, the user performs the repair using the input unit 11 (E in FIG. 3). When the user further presses the enter key after the repair is completed, the arithmetic expression is executed again to obtain an accurate result (F in FIG. 3).

図4は本発明の別のエラー告知機能を具えた計算機の行なう演算の例である。そのうち、使用者が入力する演算式は99!/256(図4のA)である。使用者がエンターキーを押した後、処理ユニット15は演算式と演算式規則ユニット13中の規則を比較し、この演算式にエラーがないことを発見する。これにより演算式の実行開始し、まず目標演算単位「99」及び「!」を取り出し並びにこれを註記し、更に「99!」に対して実際に演算を実行し、演算結果の数値が処理ユニット15の許容の桁数を超過することから、表示ユニット14にエラー情報(図4のB)を表示する。処理ユニット15は更に註記により演算式中にあって白黒反転或いはちらつき方式で「99!」の部分を表示し(図4のC)、並びに改修方式を提示する(図4のD)。更に使用者が入力ユニット11により改修を行ない(図4のE)、改修完成後に更にエンターキーを押すと改めて該演算式を実行して正確な結果を獲得する(図4のF)。   FIG. 4 shows an example of a calculation performed by a computer having another error notification function of the present invention. Of these, 99 users can enter 99! / 256 (A in FIG. 4). After the user presses the enter key, the processing unit 15 compares the arithmetic expression with the rules in the arithmetic expression rule unit 13 and finds that there is no error in this arithmetic expression. As a result, the execution of the arithmetic expression is started, the target arithmetic units “99” and “!” Are first taken out and recorded, and the arithmetic operation is actually executed on “99!”. Since the allowable number of digits of 15 is exceeded, error information (B in FIG. 4) is displayed on the display unit 14. The processing unit 15 further displays the part of “99!” In the calculation formula in black and white inversion or flickering method (C in FIG. 4) and presents the repair method (D in FIG. 4). Further, when the user performs the repair using the input unit 11 (E in FIG. 4) and further presses the enter key after the repair is completed, the arithmetic expression is executed again to obtain an accurate result (F in FIG. 4).

以上の実施例は本発明を説明するために提示されたものであり、本発明の主張する権利請求範囲は特許請求の範囲の記載に準じ、上述の実施例に限定されるものではない。   The above embodiments have been presented to explain the present invention, and the scope of the claims claimed by the present invention is not limited to the above-described embodiments according to the description of the claims.

本発明のエラー告知機能を具えた計算機のブロック図である。It is a block diagram of the computer provided with the error notification function of this invention. 本発明のエラー告知機能を具えた計算機の制御フローチャートである。It is a control flowchart of the computer provided with the error notification function of this invention. 本発明のエラー告知機能を具えた計算機の演算式入力により行なう演算の実施例図である。It is an Example figure of the calculation performed by the arithmetic-expression input of the computer provided with the error notification function of this invention. 本発明のエラー告知機能を具えた計算機の演算式入力により行なう演算の別の実施例図である。It is another Example figure of the calculation performed by the arithmetic expression input of the computer provided with the error notification function of this invention.

符号の説明Explanation of symbols

11 入力ユニット 12 保存ユニット 13 演算式規則ユニット
14 表示ユニット 15 処理ユニット
S201〜S214 ステップ
11 Input Unit 12 Storage Unit 13 Arithmetic Rule Unit 14 Display Unit 15 Processing Units S201 to S214 Steps

Claims (4)

エラー告知機能を具えた計算機において、
複数の演算ユニットで組成された演算式の入力に用いられる入力ユニットと、
該演算式を保存する保存ユニットと、
演算エラーを形成する複数の演算規則を保存する規則ユニットと、
入力された演算式及びその演算結果を表示する表示ユニットと、
入力された該演算式を実行する処理ユニットと、
を具え、そのうち、該処理ユニットは入力された該演算式を実行する前に、該演算式と規則ユニット中の演算規則を比較して該演算式のエラー部分を探し出し、並びに註記し、且つ註記したエラー部分により表示された演算式中のエラー部分を表示することを特徴とする、エラー告知機能を具えた計算機。
In a computer with an error notification function,
An input unit used to input an arithmetic expression composed of a plurality of arithmetic units;
A storage unit for storing the arithmetic expression;
A rule unit for storing a plurality of calculation rules forming an operation error;
A display unit for displaying the input arithmetic expression and the operation result;
A processing unit for executing the input arithmetic expression;
Of which the processing unit compares the arithmetic expression with the arithmetic rule in the rule unit to find out an error part of the arithmetic expression before writing the input arithmetic expression. A computer having an error notification function, wherein an error part in an arithmetic expression displayed by the error part is displayed.
請求項1記載のエラー告知機能を具えた計算機において、処理ユニットが演算式を実行する時には、まず演算式中より演算単位を取り出し並びにそれを註記し、更に該演算単位に対して演算を実行し、演算結果の数値が処理ユニットの許容する桁数を超過する時、処理ユニットが註記の目標演算単位により演算式中の桁数オーバーの部分を表示することを特徴とする、エラー告知機能を具えた計算機。   2. A computer having an error notification function according to claim 1, wherein when the processing unit executes an arithmetic expression, it first extracts the arithmetic unit from the arithmetic expression and writes it in, and further executes the arithmetic on the arithmetic unit. When the numerical value of the calculation result exceeds the number of digits allowed by the processing unit, the processing unit has an error notification function characterized by displaying the part of the number of digits in the calculation formula with the target calculation unit described above. Calculator. エラー告知機能を具えた計算機の演算方法において、
(A)複数の演算単位で組成された演算式を入力するステップと、
(B)該演算式を暫時保存するステップと、
(C)該演算式と演算エラーを形成する所定の複数の演算規則を比較し、該演算式中のエラー部分を探し出すステップと、
(D)エラー部分を暫時保存された演算式に註記するステップと、
(E)演算式を表示し並びに註記されたエラー部分により表示した演算式中のエラー部分を表示するステップと、
を具えたことを特徴とする、エラー告知機能を具えた計算機の演算方法。
In the calculation method of the computer with the error notification function,
(A) inputting an arithmetic expression composed of a plurality of arithmetic units;
(B) storing the arithmetic expression for a while;
(C) comparing the arithmetic expression with a predetermined plurality of arithmetic rules forming an arithmetic error, and searching for an error part in the arithmetic expression;
(D) writing the error part in the arithmetic expression stored for a while;
(E) displaying an arithmetic expression and displaying an error part in the arithmetic expression displayed by the error part marked;
An arithmetic method for a computer having an error notification function, characterized by comprising:
請求項3記載のエラー告知機能を具えた計算機の演算方法において、(C)のステップで演算式中のエラー部分が見つからず入力された演算式が正確であると確定した時は、更に、
(G)演算式中より演算を行なう目標演算単位を取り出すステップと、
(H)これら目標演算単位を暫時保存した演算式に註記するステップと、
(I)目標演算単位に対して演算を実行し、そのうち、演算結果の数値が許容桁数を超過する時、演算式を表示し並びに註記された目標演算単位により表示された演算式中の註記された目標演算単位を表示するステップと、
を実行することを特徴とする、エラー告知機能を具えた計算機の演算方法。
In the calculation method of the computer having the error notification function according to claim 3, when the error part in the calculation formula is not found in step (C) and the input calculation formula is determined to be accurate,
(G) extracting a target calculation unit for calculation from the calculation formula;
(H) A step of recording these target calculation units in a calculation expression stored for a while;
(I) When a calculation is performed on the target calculation unit, and the numerical value of the calculation result exceeds the allowable number of digits, the calculation expression is displayed and the note in the calculation expression displayed by the target calculation unit indicated. Displaying the calculated target calculation unit;
The calculation method of the computer provided with the error notification function characterized by performing this.
JP2004310999A 2004-10-26 2004-10-26 Computer equipped with error announcing function and its method Pending JP2006126933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004310999A JP2006126933A (en) 2004-10-26 2004-10-26 Computer equipped with error announcing function and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004310999A JP2006126933A (en) 2004-10-26 2004-10-26 Computer equipped with error announcing function and its method

Publications (1)

Publication Number Publication Date
JP2006126933A true JP2006126933A (en) 2006-05-18

Family

ID=36721663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004310999A Pending JP2006126933A (en) 2004-10-26 2004-10-26 Computer equipped with error announcing function and its method

Country Status (1)

Country Link
JP (1) JP2006126933A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196280A (en) * 2012-03-19 2013-09-30 Casio Comput Co Ltd Calculator and calculation program
JP2014067390A (en) * 2012-09-10 2014-04-17 Casio Comput Co Ltd Numerical expression display device, numerical expression display program and numerical expression display method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196280A (en) * 2012-03-19 2013-09-30 Casio Comput Co Ltd Calculator and calculation program
JP2014067390A (en) * 2012-09-10 2014-04-17 Casio Comput Co Ltd Numerical expression display device, numerical expression display program and numerical expression display method

Similar Documents

Publication Publication Date Title
JP6237168B2 (en) Information processing apparatus and information processing program
JPH06202850A (en) Data processor
JP2004118727A (en) Graphic display control device and program
CN107080942A (en) Games window matched processing method and system based on Unity3D
JPWO2014061093A1 (en) Screen creation device and screen creation method
JP2006126933A (en) Computer equipped with error announcing function and its method
JP2009059256A (en) Electronic device capable of drawing graph, and program
JP3508277B2 (en) Electronic computer
CN113849071A (en) Character string processing method and device
US5886910A (en) Computer with a check function
JP2007287185A (en) Matrix calculating device, and recording medium with matrix calculation processing program recorded thereon
JP4092810B2 (en) Calculation display device and computer-readable recording medium recording program
JP3252493B2 (en) Electronic calculator and its calculation processing method
JP5979212B2 (en) Electronic equipment and programs
JP3786141B2 (en) Electronic computer and verification control method
JP2001243421A (en) Character processor and character processing method
JP2016192232A (en) Electronic apparatus and program
JP2008176562A (en) Electronic equipment and electronic equipment control program
JP4325591B2 (en) Graph display device and graph display processing program
JP6759591B2 (en) Electronic equipment and calculation processing programs
JP2009187492A (en) Electronic equipment provided with arithmetic function and arithmetic processing program
JPH10222472A (en) Device, method for electronic calculation and recording medium recording calculating processing program
JPH10105518A (en) Electronic computation system, electronic computation method and recording medium
TWM621728U (en) Hand-held detection and menu display electronic apparatus
JPH0335345A (en) Compact electronic computer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061003

A977 Report on retrieval

Effective date: 20071031

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080522

A131 Notification of reasons for refusal

Effective date: 20080617

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20081014

Free format text: JAPANESE INTERMEDIATE CODE: A02