Patent ID: 8214413
Filing Date: 2012-07-03
Classification: G06F

Abstract:
1. An electronic calculator which is configured to perform natural display of a mathematical formula, the electronic calculator comprising: a formula input unit configured to input a mathematical formula; a formula display control unit configured to display a formula input by the formula input unit on a display; a cursor display control unit configured to display a cursor so as to enable the cursor to move according to a user operation over the formula displayed by the formula display control unit; an intake input specifying unit configured to specify an intake input of a fraction according to a user operation; a chunk recognition unit configured to recognize each of a formula part enclosed by a left parenthesis and a right parenthesis, a formula part enclosed as a predetermined function, and a formula part comprised of characters, as a chunk formula part, in the formula before and after a position of the cursor displayed on the formula, according to the input specified by the intake input specifying unit; a delimitation position decision unit configured to determine whether or not an arithmetic symbol or a delimiter exists in the formula before and after the cursor position excluding the chunk formula part recognized by the chunk recognition unit; an intake range decision unit configured to determine, if the delimitation position decision unit determines that an arithmetic symbol or a delimiter exists, each chunk formula part from the cursor position to the arithmetic symbol or the delimiter as an intake range, and to determine each chunk formula part from the cursor as the intake range if the delimitation position decision unit determines that no arithmetic symbol or delimiter exists; and a function intake unit configured to take in a formula part of a former intake range determined by the intake range decision unit as a numerator of the fraction to be calculated, and to take in a formula part of a latter intake range determined by the intake range decision unit as a denominator of the fraction to be calculated.