CN1300717C - Method for split display of quotient and remainder - Google Patents

Method for split display of quotient and remainder Download PDF

Info

Publication number
CN1300717C
CN1300717C CNB2003101130432A CN200310113043A CN1300717C CN 1300717 C CN1300717 C CN 1300717C CN B2003101130432 A CNB2003101130432 A CN B2003101130432A CN 200310113043 A CN200310113043 A CN 200310113043A CN 1300717 C CN1300717 C CN 1300717C
Authority
CN
China
Prior art keywords
quotient
remainder
screen
show
shows
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
CNB2003101130432A
Other languages
Chinese (zh)
Other versions
CN1635484A (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.)
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 CNB2003101130432A priority Critical patent/CN1300717C/en
Publication of CN1635484A publication Critical patent/CN1635484A/en
Application granted granted Critical
Publication of CN1300717C publication Critical patent/CN1300717C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

The present invention relates to a method for the split display of a quotient and a remainder. Bit number detection is carried out to the quotient and the remainder; if the bit numbers of the quotient and the remainder are small, then the quotient and the remainder are displayed on one screen; if the bit numbers of the quotient and the remainder are big, then the quotient and the remainder are in the split display. Because the present invention has a split display function, when a user executes the operation of the quotient and the remainder, the quotient and the remainder can be respectively displayed on one screen; matched with a switching key of an upper screen and a lower screen, the quotient and the remainder can be switched, and thus, the accuracy of the quotient and the remainder can be kept so as to meet users' requirements.

Description

Method and device thereof that quotient/remainder split screen shows
Technical field
The invention relates to the technical field of electronic calculator, refer to a kind of method that is applicable to quotient/remainder split screen demonstration of electronic calculator especially.
The invention still further relates to quotient/remainder split screen device shown.
Background technology
Electronic calculator is for a kind of good, good calculating aid of precision, and when the computing of carrying out arithmetic or logic, as long as the user gives sufficient parameter, electronic calculator can be exported correctly the result of (or very approaching).
As shown in Figure 1, known electronic calculator 30 provides division arithmetic (button ÷) and quotient/remainder operation (button/R).When the user imported dividend 2015 and divisor 20, during ÷, known electronic calculator 30 was that output 200.75 is to display screen 32 if the user pushes button; If the user pushes button/during R, known electronic calculator 30 is that output quotient 100 and remainder 15 are to display screen 32.Suppose that 30 number of significant digit that can express of known electronic calculator are 10 figure places, known electronic calculator 30 is that each for example keeps that 5 figure places show quotient and remainder respectively on display screen 32, therefore, when carrying out quotient/remainder operation, if the number of significant digit of quotient or remainder is greater than 5 figure places, because known electronic calculator 30 can't show this quotient and remainder (promptly can't only express quotient or remainder with 5 figure places) simultaneously, so being about to quotient/remainder operation with Jing, known electronic calculator 30 is altered to division arithmetic, and on display screen 32, directly show the quotient of division arithmetic gained, and no longer show remainder, for example carry out the computing of 1234567 ÷ 11, because the number of significant digit of quotient (112233) is greater than 5, therefore, electronic calculator 30 will not show that the result of computing is surplus in the of 112,233 4, and directly show the quotient 112233.3636 of division arithmetic gained, and this is not the required answer of user, and this will cause user's puzzlement.
Summary of the invention
Fundamental purpose of the present invention is in the method that provides a kind of quotient/remainder split screen to show, quotient and remainder split screen can be shown, so that preferable precision to be provided.
Secondary objective of the present invention is that a kind of quotient/remainder split screen device shown is being provided.According to a characteristic of the present invention, the method that a kind of quotient of the present invention/remainder split screen shows can be used for the computing that electronic calculator carries out quotient/remainder, and wherein the maximum number of digits of the numeral that can show on the display screen of this electronic calculator is N, N is a positive integer, and this method comprises the following steps:
(A) input one divisor, a dividend;
(B) computing of execution quotient/remainder is to obtain quotient and remainder;
(C) whether the figure place of judging this quotient and remainder all is not more than N1 and N2 respectively, sets up then execution in step (E), and wherein, N1 and N2 are positive integer, N1+N2≤N;
(D) show this quotient with a screen earlier, show this remainder with another screen again, and reply execution in step (A);
(E) show this quotient and this remainder simultaneously with a screen, and reply execution in step (A).
The method that described quotient/remainder split screen shows, wherein this N value is 10.
The method that described quotient/remainder split screen shows, wherein in step (C), N1=N2=N/2.
According to another characteristic of the present invention, but a kind of split screen provided by the invention shows the device of quotient/remainder, is a counter, comprising:
One input media is can be in order to import a divisor, a dividend, to reach division arithmetic, to carry out one quotient/remainder operation;
One reservoir is in order to store operational formula;
One microprocessor, according to the operational formula of this reservoir, the computing that the divisor and the dividend of this input are carried out quotient/remainder is to obtain quotient and remainder;
One working storage is in order to store this quotient of obtaining and remainder;
One switch key is in order to switch the demonstration of two screens; And
One display screen, in order to quotient and the remainder that shows that this is obtained, the maximum number of digits of the numeral that shows on this display screen is N, N is a positive integer, wherein, when the figure place of this quotient and remainder all was not more than N1 and N2, this display screen was to show this quotient and this remainder simultaneously with a screen, otherwise, earlier show this quotient, switch to another screen showing this remainder by this switch key again with a screen, in the middle of, N1 and N2 are positive integer, N1+N2≤N.
But described split screen shows the device of quotient/remainder, and wherein this reservoir is a read-only memory.
Owing to have the function that split screen shows, thus, when the user carries out quotient/remainder operation, quotient and remainder can be shown in respectively in the screen, and cooperate and to shield the switching that switching key carries out quotient and remainder up and down, also can possess the precision of quotient and remainder, satisfy user's demand.
Description of drawings
Fig. 1 is the synoptic diagram of known electronic calculator;
Fig. 2 is the synoptic diagram that electronic calculator of the present invention shows quotient;
Fig. 3 is the synoptic diagram that electronic calculator of the present invention shows remainder;
Fig. 4 is the calcspar of electronic calculator of the present invention;
Fig. 5 is the process flow diagram of quotient of the present invention/remainder multi-screen display method;
Fig. 6 is a process flow diagram of getting the remainder method.
Embodiment
As shown in Figures 2 and 3, the method that quotient of the present invention/remainder split screen shows can be applicable to electronic calculator 2 to carry out quotient/remainder operation, wherein, the maximum number of digits of displayable numerical value is that (N is a positive integer to N on the display screen 6 of electronic calculator 2 of the present invention, for example 10), electronic calculator of the present invention can show quotient and remainder after carrying out quotient/remainder operation with a screen or split screen (multiple screen).Suppose that when showing with a screen, displayable N1 figure place is for the quotient that shows quotient/remainder operation on the display screen 6, the N2 figure place is for the remainder that shows quotient/remainder operation, N1+N2≤N, and in present embodiment, N1=N2=N/2; When showing with split screen, by shielding switching key 31 up and down with the quotient that carries out display screen 6 and the switching of remainder, thus, the precision of quotient and remainder can keep (for example, the precision of 10 figure places).
As shown in Figure 4, electronic calculator 2 is to comprise following elements: input media 3, reservoir 4, microprocessor 5, display screen 6, and working storage 7 etc., wherein, this input media 3 is in order to the function of the input of giving information, it is preferably the keyboard group, has button miscellaneous above, be available for users to input digit (comprising: divisor, dividend), screen switching up and down, operator (comprising: division arithmetic, quotient/remainder operation) or the like, when the user presses when shielding switching key 31 up and down, input media 3 is that output is switched signal to microprocessor 5.
Reservoir 4 is in order to the storage operational formula, for example: division arithmetic formula, quotient/remainder operation formula or the like, and it is preferably is a read-only memory, but not as limit.Microprocessor 5 is in order to carry out the computing of arithmetic or logic, when processor 5 is desired to carry out above-mentioned computing, needs to read operational formula from reservoir 4, and the data of being imported according to input media 3 is carried out corresponding arithmetic or logical operation again, and the result is exported.When processor 5 is when carrying out quotient/remainder operation, microprocessor 5 is according to switching signals and export quotient to display screen 6, and remainder is stored to working storage 7, or exports remainder to display screen 6, and quotient is stored to working storage 7.
The result of display screen 6 in order to show that microprocessor 5 is exported, it is preferably is a LCD, but not as limit.Working storage 7 is the intermediate values that produced when carrying out the computing of arithmetic or logic in order to temporary microprocessor 5, and reading of microprocessor 5 is provided.
In the present invention, as shown in Figure 5, the method that quotient of the present invention/remainder split screen shows, its execution in step is as follows in regular turn:
Step S10: input divisor, dividend.
Step S11: is the absolute value of judging divisor, dividend greater than maximal value? the precision of supposing electronic calculator 2 of the present invention is 10 figure places, so maximal value is 9999999999, when the absolute value of divisor or dividend during greater than maximal value, then output warning signal is to the user, and resumes step S10, divisor, dividend are re-entered in request, on the contrary execution in step S12 then.
Step S12: judge whether to carry out quotient/remainder operation? input media 3 provides division arithmetic and quotient/remainder operation, division arithmetic is to obtain quotient more accurately, and quotient/remainder operation is to get the quotient of aliquot dividend, and obtains poor (being remainder) that dividend and divisor multiply by quotient.If the user pushes button/button of R then execution in step S13, otherwise execution in step S17.Step S13: the computing of the operator that execution priority is higher.In the calculating process of arithmetic, need the higher operator of first execution priority, for example, left and right sides bracket, be positioned at the operator of the same right of priority of the sub-left of quotient/remainder operation, can carry out the computing of quotient/remainder operation.
Step S14: carry out the computing of quotient/remainder.The computing that utilization is got the computing of quotient and got remainder is to obtain quotient and remainder respectively.
Step S15: judge whether and can show quotient and remainder by a screen? if the figure place of quotient and remainder all is not more than N1 and N2 respectively, for example, the figure place of quotient and remainder all is not more than N/2 respectively, then can use single screen with expression quotient and remainder, and execution in step S18; Otherwise, execution in step S16.
Step S16: split screen shows quotient and remainder.If can't represent quotient and remainder with single screen, then remainder is placed working storage 7, and quotient placed screen, and, be available for users to the switching of doing to shield up and down by the button (for example, shielding switching key up and down) that screen is switched, when the user switches to down screen, the side will place the remainder of working storage 7 to export play screen to, if one, can be in the mode of split screen demonstration with demonstration quotient and remainder.
Step S17: carry out division arithmetic.Because it is many that the method for division arithmetic has, and be not purpose of the present invention, seldom explains at this.
Step S18: show quotient and remainder with a screen.
Wherein, execution in step S14 can obtain quotient and remainder, and as shown in Figure 6, the method for getting remainder is to comprise the following steps:
Does step S20: whether the absolute value of judging divisor, dividend equate? set up then execution in step S26, on the contrary execution in step S21 then.
Step S21: quotient equals dividend divided by divisor.With dividend divided by divisor to obtain a quotient (for example 100.75) accurately.
Step S22: temporary value equals the round values of quotient.To quotient round numbers accurately, can be not with the temporary value of integer (for example 100).
Step S23: judge that quotient equals temporary value? if quotient equals temporary value, represent that then dividend is that dividend is divided exactly, thus do not stay remainder (remainder of zero), thus execution in step S25, on the contrary execution in step S24 then.
Step S24: remainder equals dividend and deducts temporary on duty with divisor.Dividend deducted temporary on dutyly can obtain remainder with divisor.
Step S25: remainder of zero.
Wherein, the temporary number among the step S21 is the quotient in quotient/remainder operation.
The foregoing description only is to give an example for convenience of description, and the interest field that the present invention advocated should be as the criterion so that claim is described certainly, but not only limits to the foregoing description.

Claims (5)

1, the method for a kind of quotient/remainder split screen demonstration, can be used for the computing that electronic calculator carries out quotient/remainder, it is characterized in that wherein, the maximum number of digits of the numeral that can show on the display screen of this electronic calculator is N, N is a positive integer, and this method comprises the following steps:
(A) input one divisor, a dividend;
(B) computing of execution quotient/remainder is to obtain quotient and remainder;
(C) whether the figure place of judging this quotient and remainder all is not more than N1 and N2 respectively, sets up then execution in step (E), and wherein, N1 and N2 are positive integer, N1+N2≤N;
(D) show this quotient with a screen earlier, show this remainder with another screen again, and reply execution in step (A);
(E) show this quotient and this remainder simultaneously with a screen, and reply execution in step (A).
2, the method for quotient according to claim 1/remainder split screen demonstration is characterized in that wherein this N value is 10.
3, the method that shows of quotient according to claim 1/remainder split screen is characterized in that, wherein in step (C), and N1=N2=N/2.
4, but a kind of split screen shows the device of quotient/remainder, is a counter, it is characterized in that, comprising:
One input media is can be in order to import a divisor, a dividend, to reach division arithmetic, to carry out one quotient/remainder operation;
One reservoir is in order to store operational formula;
One microprocessor, according to the operational formula of this reservoir, the computing that the divisor and the dividend of this input are carried out quotient/remainder is to obtain quotient and remainder;
One working storage is in order to store this quotient of obtaining and remainder;
One switch key is in order to switch the demonstration of two screens; And
One display screen, in order to quotient and the remainder that shows that this is obtained, the maximum number of digits of the numeral that shows on this display screen is N, N is a positive integer, wherein, when the figure place of this quotient and remainder all was not more than N1 and N2, this display screen was to show this quotient and this remainder simultaneously with a screen, otherwise, earlier show this quotient, switch to another screen showing this remainder by this switch key again with a screen, in the middle of, N1 and N2 are positive integer, N1+N2≤N.
5, but split screen according to claim 4 shows the device of quotient/remainder, it is characterized in that wherein this reservoir is a read-only memory.
CNB2003101130432A 2003-12-25 2003-12-25 Method for split display of quotient and remainder Expired - Fee Related CN1300717C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101130432A CN1300717C (en) 2003-12-25 2003-12-25 Method for split display of quotient and remainder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101130432A CN1300717C (en) 2003-12-25 2003-12-25 Method for split display of quotient and remainder

Publications (2)

Publication Number Publication Date
CN1635484A CN1635484A (en) 2005-07-06
CN1300717C true CN1300717C (en) 2007-02-14

Family

ID=34843406

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101130432A Expired - Fee Related CN1300717C (en) 2003-12-25 2003-12-25 Method for split display of quotient and remainder

Country Status (1)

Country Link
CN (1) CN1300717C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102058402B (en) * 2010-12-24 2013-01-09 天津九安医疗电子股份有限公司 Blood pressure data display method
WO2013044414A1 (en) * 2011-09-30 2013-04-04 Intel Corporation Apparatus and method for performing decimal division
JP6885057B2 (en) * 2016-12-26 2021-06-09 カシオ計算機株式会社 Arithmetic logic unit, display method of arithmetic unit and program for the arithmetic unit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4954977A (en) * 1987-08-13 1990-09-04 Texas Instruments Incorporated Pedagogic calculating machine for arithmetic instruction
US5132924A (en) * 1989-10-02 1992-07-21 Sharp Kabushiki Kaisha Electronic computer capable of repeatedly displaying the results of a quotient/remainder calculation
JPH06168104A (en) * 1992-11-30 1994-06-14 Casio Comput Co Ltd Electronic computer
JPH0713933A (en) * 1993-06-17 1995-01-17 Kano Densan Hongkong Yugenkoshi Electronic desktop calculator
CN1149158A (en) * 1995-09-28 1997-05-07 王和平 Calculator for students
CN1277390A (en) * 1999-06-14 2000-12-20 金宝电子工业股份有限公司 Calculator capable of displaying previous data
CN2526910Y (en) * 2002-02-28 2002-12-18 信利电子有限公司 Computer for student mathematics

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4954977A (en) * 1987-08-13 1990-09-04 Texas Instruments Incorporated Pedagogic calculating machine for arithmetic instruction
US5132924A (en) * 1989-10-02 1992-07-21 Sharp Kabushiki Kaisha Electronic computer capable of repeatedly displaying the results of a quotient/remainder calculation
JPH06168104A (en) * 1992-11-30 1994-06-14 Casio Comput Co Ltd Electronic computer
JPH0713933A (en) * 1993-06-17 1995-01-17 Kano Densan Hongkong Yugenkoshi Electronic desktop calculator
CN1149158A (en) * 1995-09-28 1997-05-07 王和平 Calculator for students
CN1277390A (en) * 1999-06-14 2000-12-20 金宝电子工业股份有限公司 Calculator capable of displaying previous data
CN2526910Y (en) * 2002-02-28 2002-12-18 信利电子有限公司 Computer for student mathematics

Also Published As

Publication number Publication date
CN1635484A (en) 2005-07-06

Similar Documents

Publication Publication Date Title
CN1174309C (en) Method and device for auxiliary inputting data into portable information terminal
CN1306372C (en) The Chinese phonetic alphabet input method and device using digital key mat
US20070120819A1 (en) Method and system for accessing data stored in an electronic device
CN1877502A (en) Apparatus and method for inputting characters using circular key arrangement
CN1335965A (en) Method and apparatus for improved multi-tap text input
CN1758680A (en) Method for permutation and displaying number of mobile communication terminal
CN111104426A (en) Data query method and system
CN1300717C (en) Method for split display of quotient and remainder
CN1120689A (en) Data storage apparatus
CN1854998A (en) Hybrid inputting method and device for various characters
CN1531364A (en) Method for defining keyboard function of electronic device
CN1740962A (en) Fast pipeline type divider
CN1933641A (en) Mobile communication terminal with input image transformation function and method
CN1917003A (en) Method and devices cpable of lowering power consumption for driving display
CN1932729A (en) Candidate words displaying method
CN101042597A (en) Multi-mode touch control plate
CN1200339C (en) Data processing equipment and its method
CN1129101C (en) Electronic equipment with teaching-guiding function and its demonstration method of demonstrating process
CN1908869A (en) Portable personal information terminal having function of keyboard error operation prevention
CN1178126C (en) Control method for displaying different literal formats in literal archives
CN1224893C (en) Idempotent unit for data process system
CN1262938C (en) Calculating device capable of displaying constant and method thereof
CN1529225A (en) Intelligent terminal chinese character stroke input method
CN1297872C (en) Method of inputting character
CN1403903A (en) Single-hand operated keyboard and its input method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Kinpo Electronics (China) Co., Ltd.

Assignor: Kinpo Electronic Industry Co., Ltd.

Contract fulfillment period: 2007.2.14 to 2012.2.13 contract change

Contract record no.: 2008990001573

Denomination of invention: Method for split display of quotient and remainder

Granted publication date: 20070214

License type: Exclusive license

Record date: 20081226

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2007.2.14 TO 2012.2.13; CHANGE OF CONTRACT

Name of requester: JINBAO ELECTRON ( CHINA) CO., LTD.

Effective date: 20081226

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070214

Termination date: 20151225

EXPY Termination of patent right or utility model