APPLY_RSA
[apps/home/calculator.git] / include / calculator_parser.h
index e6e11e9..9c216a6 100644 (file)
@@ -1,20 +1,20 @@
 /*
-  * Copyright 2012  Samsung Electronics Co., Ltd
-  * 
-  * Licensed under the Flora License, Version 1.0 (the "License");
-  * you may not use this file except in compliance with the License.
-  * You may obtain a copy of the License at
-  * 
-  *     http://www.tizenopensource.org/license
-  * 
-  * Unless required by applicable law or agreed to in writing, software
-  * distributed under the License is distributed on an "AS IS" BASIS,
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  * See the License for the specific language governing permissions and
-  * limitations under the License.
-  */
-
+*
+* Copyright 2012  Samsung Electronics Co., Ltd
+*
+* Licensed under the Flora License, Version 1.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*    http://www.tizenopensource.org/license
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
 
 #ifndef __CALCULATOR_PARSER_H
 #define __CALCULATOR_PARSER_H
@@ -147,7 +147,7 @@ extern "C" {
                OP_LOG,
                OP_1X,
 
-               OP_EX,          // 30
+               OP_10X,         // 30
                OP_X2,
                OP_XY,
 
@@ -170,7 +170,8 @@ extern "C" {
 
 */
        typedef struct {
-               double tmp_result;                                                      /**<store result by temoprary*/
+               //double tmp_result;                                                    /**<store result by temoprary*/
+               char tmp_result[MAX_RESULT_LENGTH];
                calculator_calculate_priority_t node_calcu_priority;
                                                                /**<node calculation priority*/
                operator_type_t operator_type;                                  /**<node operator type*/