JPH0786858B2 - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH0786858B2
JPH0786858B2 JP25838589A JP25838589A JPH0786858B2 JP H0786858 B2 JPH0786858 B2 JP H0786858B2 JP 25838589 A JP25838589 A JP 25838589A JP 25838589 A JP25838589 A JP 25838589A JP H0786858 B2 JPH0786858 B2 JP H0786858B2
Authority
JP
Japan
Prior art keywords
fraction
key
numerator
display
denominator
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 - Fee Related
Application number
JP25838589A
Other languages
Japanese (ja)
Other versions
JPH03119455A (en
Inventor
秀康 河毛
文彰 川脇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP25838589A priority Critical patent/JPH0786858B2/en
Priority to US07/589,656 priority patent/US5241489A/en
Priority to CA002026637A priority patent/CA2026637C/en
Priority to EP90118875A priority patent/EP0421351B1/en
Priority to DE69031021T priority patent/DE69031021T2/en
Publication of JPH03119455A publication Critical patent/JPH03119455A/en
Publication of JPH0786858B2 publication Critical patent/JPH0786858B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は電子計算機に関し、特に、電子卓上計算機等の
電子計算機に於ける分数の表示の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic computer, and more particularly to improvement of display of a fraction in an electronic computer such as an electronic desk calculator.

(従来の技術) 第5図に従来の電子卓上計算機(以下では「電卓」と称
する)の一例の模式的な平面図を示す。第5図の電卓
は、液晶表示装置(LCD)51、分数入力キー52、数値を
入力するための置数キー53及び[=]キー54を有してい
る。LCD51は、主表示部51a並びに分子表示部51c及び分
母表示部51dを含む分数表示部51bを備えている。分数の
表示に際しては、分数の分子及び分母が分子表示部51c
及び分母表示部51dにそれぞれ表示される。帯分数を表
示する場合には更に、帯分数の整数部分が主表示部51a
に表示される。
(Prior Art) FIG. 5 shows a schematic plan view of an example of a conventional electronic desk calculator (hereinafter referred to as “calculator”). The calculator shown in FIG. 5 has a liquid crystal display (LCD) 51, a fraction input key 52, a numeral key 53 for inputting a numerical value, and an [=] key 54. The LCD 51 includes a main display portion 51a, a fraction display portion 51b including a numerator display portion 51c and a denominator display portion 51d. When displaying fractions, the numerator and denominator of the fraction are displayed in the numerator display section 51c.
And the denominator display section 51d. When displaying a mixed number, the integer part of the mixed number is further displayed on the main display unit 51a.
Is displayed in.

第5図の電卓で、分数を入力する場合には、置数キー53
を用いて分子を入力し、分数入力キー52を押下して分子
を確定させる。次に、分母を入力し、[=]キー54等を
押下すると、入力された分数が確定すると共に、可能で
あれば約分及び帯分数への変換が行われる。帯分数を入
力する場合には、上述の分子の入力に先立って帯分数の
整数部分を置数キー53を用いて入力し、分数入力キー52
を用いて確定させる。
When inputting a fraction with the calculator shown in Fig. 5, the numeric key 53
Input the numerator using, and press the fraction input key 52 to confirm the numerator. Next, when the denominator is input and the [=] key 54 or the like is pressed, the input fraction is confirmed and, if possible, converted into a divisor and a mixed fraction. When entering a mixed number, enter the integer part of the mixed number using the numeric keys 53 prior to entering the numerator described above, and then enter the fraction input key 52.
Use to confirm.

第6図に分数の入力を行う操作例とそれに伴う表示結果
を示す。
FIG. 6 shows an operation example for inputting a fraction and a display result accompanying it.

(発明が解決しようとする課題) 第6図のB欄及びD欄から分かるように、従来の電卓で
は、帯分数の表示に於いて、分子及び分母は整数部分と
同様に右詰めで表示されていた。従って、表示された帯
分数の整数部分と分数部分が離れてしまい、操作者にと
って表示されている帯分数を認識することが容易ではな
いという問題が生じていた。
(Problems to be Solved by the Invention) As can be seen from columns B and D of FIG. 6, in the conventional calculator, the numerator and denominator are displayed right justified in the same manner as the integer part in the display of mixed fractions. Was there. Therefore, the integer part and the fractional part of the displayed mixed number are separated from each other, which causes a problem that it is not easy for the operator to recognize the displayed mixed number.

本発明はこのような現状に鑑みてなされたものであっ
て、その目的とするところは、操作者にとって認識し易
い帯分数の表示を行うことができる電子計算機を提供す
ることにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an electronic computer capable of displaying a mixed number that is easy for an operator to recognize.

(課題を解決するための手段) 本発明の電子計算機は、帯分数の整数部分を表示するこ
とができる第1の表示部、複数桁の分数の分子を表示す
ることができる第2の表示部及び複数桁の分数の分母を
表示することができる第3の表示部を有する表示装置
と、表示すべき分数の分子及び分母の少なくとも一方を
該第2の表示部及び該第3の表示部の内の対応する表示
部の中で該第1の表示部に最も近い位置に表示する手段
とを備えており、そのことにより上記目的が達成され
る。
(Means for Solving the Problems) The electronic computer of the present invention has a first display unit capable of displaying an integer part of a mixed number and a second display unit capable of displaying a numerator having a fractional digit. And a display device having a third display unit capable of displaying a denominator of a fraction of a plurality of digits, and at least one of a numerator and a denominator of a fraction to be displayed, of the second display unit and the third display unit. And a means for displaying at a position closest to the first display unit among the corresponding display units in the inside thereof, thereby achieving the above object.

(実施例) 本発明を実施例について以下に説明する。(Examples) The present invention will be described below with reference to Examples.

第1図に本発明の一実施例の外観を示す。本実施例は多
種類の関数の計算を実行することができる関数電卓であ
るが、キーについては、以下では分数の入力、表示等に
関係するキーの説明のみを行う。本実施例は、液晶表示
装置(LCD)1及びキーボード2を備えている。LCD1
は、数字等が表示される主表示部1a、及び分数等が表示
される分数表示部1bを備えている。仮分数の表示に於い
ては、分数表示部1bの上段の分子表示部1cに分子が表示
され、分数表示部1bの下段の分母表示部1dに分母が表示
される。帯分数の表示に於いては、更に、帯分数の整数
部分が主表示部1aに表示される。分数表示部1bは、第1
図に示すように主表示部1aの右隣に配設されるのが、通
常の帯分数の表記形式に近いため最も好ましい。
FIG. 1 shows the appearance of an embodiment of the present invention. Although the present embodiment is a scientific calculator capable of executing calculation of various kinds of functions, regarding the keys, only the keys related to the input and display of fractions will be described below. In this embodiment, a liquid crystal display (LCD) 1 and a keyboard 2 are provided. LCD1
Includes a main display portion 1a for displaying numbers and the like, and a fraction display portion 1b for displaying fractions and the like. In the display of the improper fraction, the numerator is displayed in the numerator display part 1c in the upper part of the fraction display part 1b, and the denominator is displayed in the denominator display part 1d in the lower part of the fraction display part 1b. In displaying the mixed number, the integer part of the mixed number is further displayed on the main display unit 1a. The fraction display section 1b is
As shown in the figure, it is most preferable to be arranged on the right side of the main display portion 1a because it is close to the usual mixed number notation format.

キーボード2は、分数の入力時及び仮分数・帯分数間の
変換時に使用される[ab/c]キー2a、[ab/c]キー2a等
のキーの機能を選択するための第2機能キー2b、0〜9
の数値を入力するための置数キー2c、四則演算を実行す
るためのキー2d及び[=]キー2eを備えている。
The keyboard 2 is the second function key for selecting the function of the [ab / c] key 2a, [ab / c] key 2a, etc. used when inputting a fraction and converting between improper fractions and mixed fractions. 2b, 0-9
A numeric key 2c for inputting the numerical value of, a key 2d for executing four arithmetic operations, and a [=] key 2e are provided.

本実施例に於ける分数の入力手順を説明する。仮分数を
入力する場合には、置数キー2cを用いて分子を入力し、
[ab/c]キー2aを押下して分子を確定させる。次に、置
数キー2cを用いて分母を入力し、四則演算キー2d、
[=]キー2e等を押下すると、入力された分数が確定す
る。帯分数を入力する場合には、先ず、置数キー2cを用
いて帯分数の整数部分を入力し、[ab/c]キー2aで整数
部分を確定させた後、帯分数の分数部分を仮分数の入力
と同様の手順で入力する。四則演算キー2d、[=]キー
2e等による入力分数の確定時には、可能であれば約分及
び帯分数への変換の両方又は一方が行われる。仮分数・
帯分数間の変換は、第2機能キー2bを押下した後に引続
き[ab/c]キー2aを押下することによって行われる。
A procedure for inputting a fraction in this embodiment will be described. To enter an improper fraction, enter the numerator using the numeric key 2c,
Press the [ab / c] key 2a to confirm the molecule. Next, enter the denominator using the numeric key 2c, and the four arithmetic operation keys 2d,
When the [=] key 2e or the like is pressed, the entered fraction is confirmed. When entering a mixed number, first enter the integer part of the mixed number using the numeric key 2c, confirm the integer part with the [ab / c] key 2a, and then temporarily enter the fractional part of the mixed number. Enter the number in the same way as you enter the fraction. Arithmetic operation key 2d, [=] key
When determining the input fraction by 2e, etc., conversion to a divisor and / or mixed fraction is performed if possible. Improper fraction
Conversion between mixed numbers is performed by pressing the second function key 2b and then the [ab / c] key 2a.

第2図に本実施例のブロック図を示す。CPU21に、プロ
グラムや定数が格納されているROM22、制御用データや
数値データを格納するためのRAM23及びキーボード2を
用いたキー入力を検出するためのキーマトリクス26が接
続されている。LCD1は、LCD1の駆動制御を行うLCD駆動
回路24を介してCPU21に接続されている。
FIG. 2 shows a block diagram of this embodiment. The CPU 21 is connected to a ROM 22 that stores programs and constants, a RAM 23 that stores control data and numerical data, and a key matrix 26 that detects key input using the keyboard 2. The LCD 1 is connected to the CPU 21 via an LCD drive circuit 24 that controls the drive of the LCD 1.

分数の入力時に四則演算キー2d、[=]キー2e等が押下
された場合に於ける分数表示のための処理のアルゴリズ
ムを第3図に示す。第3図で、X、Y及びAは、それぞ
れ約分後の分母の桁数を記憶するための変数、約分後の
分子の桁数を記憶するための変数及び分数表示部1bの表
示可能な最大桁数を記憶するための変数である。これら
の変数にはRAM23内に記憶場所が割り当てられている。
FIG. 3 shows an algorithm of a process for displaying a fraction when the arithmetic key 2d, the [=] key 2e, etc. are pressed when the fraction is input. In FIG. 3, X, Y, and A are variables for storing the number of digits of the denominator after reduction, a variable for storing the number of digits of the numerator after reduction, and the fraction display portion 1b can be displayed. This is a variable for storing the maximum number of digits. Storage locations are allocated in RAM 23 for these variables.

先ず、演算や約分等が行われた後の分数の分母の桁数及
び分子の桁数を求め、それぞれX及びYに代入する(ス
テップS1)。ステップS1では更に、分数表示部1bの表示
可能な最大桁数が求められ、Aに代入される。次に、ス
テップS2で、XとYとを比較し、XがYよりも大きい場
合にはステップS3へ、XがYよりも小さいか又は等しい
場合にはステップS4へ進む。
First, the number of digits of the denominator and the number of digits of the numerator of the fraction after the calculation, the reduction, etc. are calculated and substituted into X and Y, respectively (step S1). Further, in step S1, the maximum number of digits that can be displayed on the fraction display unit 1b is obtained and substituted into A. Next, in step S2, X is compared with Y. If X is greater than Y, the process proceeds to step S3, and if X is less than or equal to Y, the process proceeds to step S4.

ステップS3では、最大桁数Aから分母の桁数Xを引き、
結果を変数LAPに代入する。ステップS4では、最大桁数
Aから分子の桁数Yを引き、結果を変数LAPに代入す
る。ステップS2並びにステップS3又はS4の処理により、
分母の桁数X及び分子の桁数Yの内の大きい方を最大桁
数Aから引いた結果が変数LAPに得られる。ステップS5
では、分母及び分子を、LAP桁分だけ上位桁の方向、即
ち左方へずらして分母表示部1d(第1図)及び分子表示
部1c(第1図)にそれぞれ表示する。
In step S3, subtract the number of denominator digits X from the maximum number of digits A,
Assign the result to the variable LAP. In step S4, the digit number Y of the numerator is subtracted from the maximum digit number A, and the result is substituted into the variable LAP. By the processing of step S2 and step S3 or S4,
The result obtained by subtracting the larger of the digit number X of the denominator and the digit number Y of the numerator from the maximum digit number A is obtained in the variable LAP. Step S5
Then, the denominator and the numerator are displayed in the denominator display unit 1d (Fig. 1) and the numerator display unit 1c (Fig. 1), respectively, by shifting the denominator and the numerator to the upper digit direction, that is, leftward.

第3図のアルゴリズムは帯分数の表示のみに適用しても
よいし、帯分数の表示及び仮分数の表示の両方に適用し
てもよい。
The algorithm of FIG. 3 may be applied only to the display of mixed fractions, or may be applied to both the display of mixed fractions and the display of improper fractions.

本実施例の操作例及び表示結果を第4図に示す。第4図
のA欄に示すようにして入力された分数は第4図のB欄
に示すように、[=]キー2eを押下することにより確定
し、このとき約分及び帯分数への変換が行われる。又、
帯分数の分数部分は、第3図のアルゴリズムに従って、
分数表示部1bの主表示部1aに最も近くなるように左詰め
されて表示されている。第4図のC欄は帯分数の入力手
順を示している。入力された帯分数が第4図のD欄に示
すように[=]キー2eの押下によって確定すると、分数
部分は左詰めされて表示される。尚、第4図のD欄に於
いても分数部分の約分が行われている。
FIG. 4 shows an operation example and a display result of this embodiment. The fraction input as shown in the column A of FIG. 4 is confirmed by pressing the [=] key 2e as shown in the column B of FIG. 4, and at this time, it is converted into a divisor and a mixed fraction. Is done. or,
The fractional part of the mixed fraction, according to the algorithm of FIG.
The fraction display portion 1b is displayed left-justified so as to be closest to the main display portion 1a. Column C in FIG. 4 shows the procedure for inputting the mixed fraction. When the inputted mixed fraction is confirmed by pressing the [=] key 2e as shown in the column D of FIG. 4, the fractional part is displayed left justified. Incidentally, in the column D of FIG. 4, the fractional part is also reduced.

上述の実施例では、第3図のフローチャートから分かる
ように分子及び分母とは同一の桁数分だけずらして表示
され、従って表示された分子と分母とはそれらの右端が
揃うことになる。このことは本発明にとって本質的では
なく、分子及び分母の桁数の小さい方を他方よりも余計
に左方へずらして分子及び分母の右端が揃うように表示
してもよい。
In the above-mentioned embodiment, as can be seen from the flowchart of FIG. 3, the numerator and the denominator are displayed by being shifted by the same number of digits, so that the displayed numerator and the denominator are aligned at their right ends. This is not essential to the present invention, and the smaller number of digits of the numerator and denominator may be displaced to the left further than the other so that the right ends of the numerator and denominator are aligned.

(発明の効果) 本発明によれば、帯分数の分数部分と整数部分とが離れ
ることなく表示されるため、操作者が表示された帯分数
を認識し易い、操作性の向上した電子計算機が提供され
る。
(Effects of the Invention) According to the present invention, since the fractional part and the integer part of the mixed fraction are displayed without being separated from each other, the operator can easily recognize the mixed fraction displayed, and the electronic computer with improved operability is provided. Provided.

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

第1図は本発明の一実施例の概略平面図、第2図はその
実施例のブロック図、第3図はその実施例に於ける分数
表示のアルゴリズムを示すフローチャート、第4図はそ
の実施例の操作例及び表示結果を示す図、第5図は従来
の電子計算機の一例の平面図、第6図は第5図の電子計
算機の操作例及び表示結果を示す図である。 1…液晶表示装置(LCD)、1a…主表示部、1b…分数表
示部、1c…分子表示部、1d…分母表示部、2…キーボー
ド、21…CPU、22…ROM、23…RAM、24…LCD駆動回路、26
…キーマトリクス。
FIG. 1 is a schematic plan view of an embodiment of the present invention, FIG. 2 is a block diagram of the embodiment, FIG. 3 is a flow chart showing an algorithm for displaying fractions in the embodiment, and FIG. FIG. 5 is a plan view of an example of a conventional electronic computer, and FIG. 6 is a diagram showing an operation example and display result of the electronic computer of FIG. 1 ... Liquid crystal display (LCD), 1a ... Main display section, 1b ... Fraction display section, 1c ... Numerator display section, 1d ... Denominator display section, 2 ... Keyboard, 21 ... CPU, 22 ... ROM, 23 ... RAM, 24 … LCD drive circuit, 26
… Key matrix.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】帯分数の整数部分を表示することができる
第1の表示部、複数桁の分数の分子を表示することがで
きる第2の表示部及び複数桁の分数の分母を表示するこ
とができる第3の表示部を有する表示装置と、 表示すべき分数の分子及び分母の少なくとも一方を該第
2の表示部及び該第3の表示部の内の対応する表示部の
中で該第1の表示部に最も近い位置に表示する手段と を備えた電子計算機。
1. A first display unit capable of displaying an integer part of a mixed fraction, a second display unit capable of displaying a numerator of a multi-digit fraction, and a denominator of a multi-digit fraction. And a display device having a third display unit capable of displaying at least one of a numerator and a denominator of a fraction to be displayed in the corresponding display unit of the second display unit and the third display unit. And a means for displaying at a position closest to the display unit of 1.
JP25838589A 1989-10-02 1989-10-02 Electronic computer Expired - Fee Related JPH0786858B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP25838589A JPH0786858B2 (en) 1989-10-02 1989-10-02 Electronic computer
US07/589,656 US5241489A (en) 1989-10-02 1990-09-28 Electronic computer with fraction and exponent display
CA002026637A CA2026637C (en) 1989-10-02 1990-10-01 Hand held electronic calculator
EP90118875A EP0421351B1 (en) 1989-10-02 1990-10-02 An electronic computer
DE69031021T DE69031021T2 (en) 1989-10-02 1990-10-02 Electronic calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25838589A JPH0786858B2 (en) 1989-10-02 1989-10-02 Electronic computer

Publications (2)

Publication Number Publication Date
JPH03119455A JPH03119455A (en) 1991-05-21
JPH0786858B2 true JPH0786858B2 (en) 1995-09-20

Family

ID=17319508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25838589A Expired - Fee Related JPH0786858B2 (en) 1989-10-02 1989-10-02 Electronic computer

Country Status (1)

Country Link
JP (1) JPH0786858B2 (en)

Also Published As

Publication number Publication date
JPH03119455A (en) 1991-05-21

Similar Documents

Publication Publication Date Title
JPH06214699A (en) Keyboard device
JP3140916B2 (en) Formula input device
US5241489A (en) Electronic computer with fraction and exponent display
JPH0786858B2 (en) Electronic computer
JPH03119454A (en) Electronic computer
JPH05289996A (en) Method for setting up format in table calculating software
US5285399A (en) Calculator with easily enterable constant calculation mode
JP2571856B2 (en) Electronic computer
JPH03119457A (en) Electronic computer
JPH07319822A (en) Minicomputer with checking function
JP2707162B2 (en) Data processing device
JPH05197690A (en) Fraction input method
JP3058423B2 (en) Document processing device
JP2912499B2 (en) Electronic equipment with statistical processing function
KR200342966Y1 (en) Electric calculator
JPH06168104A (en) Electronic computer
JPS6243227B2 (en)
JPH022221A (en) Keyboard device
JP2723236B2 (en) Character reader
JPH01175062A (en) Electronic computer
JPH07104752B2 (en) Display method of setting screen using touch input display device
JPH02226322A (en) Keyboard device
JPH0555247U (en) Small electronic calculator
JPS603650B2 (en) random number generator
JPH0764924A (en) Electronic equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 13

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

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20080920

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

Year of fee payment: 14

Free format text: PAYMENT UNTIL: 20090920

LAPS Cancellation because of no payment of annual fees