[공학용 계산기] 계산 명령의 우선 순위 (Order of Evaluation)
1. TI-nspire
Equation Operating System (EOS™)
숫자와, 변수, 그리고 함수는 간략하고, 직관적인 순서로 입력됩니다.
EOS™ 소프트웨어는 아래에 기술된 우선순위와 괄호묶음을 이용하여 수식과 방정식을 계산합니다.
|
Level |
Operator |
|
1 |
Parentheses ( ), brackets [ ], braces { } |
|
2 |
Indirection (#) |
|
3 |
Function calls |
|
4 |
Post operators: degrees-minutes-seconds (°,',"), factorial (!), percentage (%), radian (r), subscript ([ ]), transpose (T) |
|
5 |
Exponentiation, power operator (^) |
|
6 |
Negation (⁻) |
|
7 |
String concatenation (&) |
|
8 |
Multiplication (•), division (/) |
|
9 |
Addition (+), subtraction (-) |
|
10 |
10 Equality relations: equal (=), not equal (≠ or /=), less than (<), less than or equal (≤ or <=), greater than (>), greater than or equal (≥ or >=) |
|
11 |
Logical not |
|
12 |
Logical and |
|
13 |
Logical or |
|
14 |
xor, nor, nand |
|
15 |
Logical implication (⇒) |
|
16 |
Logical double implication, XNOR (⇔) |
|
17 |
Constraint operator (“|”) |
|
18 |
Store (→) |
2. CASIO [fx-9860G]
계산 우선 순위 (출처 : 사용자 설명서)
본 기기는 대수법칙에 따라 아래의 우선 순위대로 적용합니다.
| ① |
Type A 함수
|
| ② |
Type B 함수
|
| ③ | 누승/누승근 ^, 【xy】, 【x√】 |
| ④ | 분수 【a b/c】 |
| ⑤ | π나 메모리 이름, 변수 이름 직전 곱셈 생략 2π, 5A, Xmin, F Start, etc. |
| ⑥ | Type C 함수 (Type B와 입력순서 반대) 함수키를 누르고 값을 입력합니다. √, 3√, log, In, ex, 10x, sin, cos, tan, sin-1, cos-1, tan-1,sinh, cosh, tanh, sinh-1, cosh-1,tanh-1, (-), d, h, b, o, Neg, Not, Det, Trn, Dim, Identity, Ref, Rref, Sum, Prod, Cuml, Percent, List, Abs, Int, Frac, Intg, Arg, Conjg, ReP, ImP |
| ⑦ | Type A, Type C 함수, 괄호 앞의 곱셈 생략 2√3, Alog2, etc. |
| ⑧ | 균열, 조합 nPr, nCr |
| ⑨ | 단위 변환 명령어 |
| ⑩ | × , ÷ , Int ÷ , Rnd |
| ⑪ | +, - |
| ⑫ | 관계 연산자 =, ≠, >, <, ≤, ≥ |
| ⑬ | And(논리 연산자), and(비트 연산자) |
| ⑭ | Or(논리 연산자), or, xor, xnor (비트 연산자) |
*1 복합함수의 함수 메모리(fn), 그래프 메모리(Yn, rn, Xtn, Ytn, Xn)의 내용을 같이 사용할 수 있습니다.
예를 들면, 복합함수 fn1◦fn2의 결과를 fn1(fn2)로 정하십시오.(페이지5-7을 참조) 복합 함수는 5개의 함수로 이루어집니다.
예시 :

- RndFix 계산식 내에서 미분, 2차미분, 적분, ∑계산, Min, Max, Solve, RndFix, logba 등을 사용할 수 없습니다.
- 우선순위가 같은 경우, 오른쪽에서 왼쪽으로 계산이 실행됩니다.
exln√120 → ex {ln(√(120))} - 그렇지 않으면, 왼쪽에서 오른쪽으로 실행됩니다.
- 복합 함수는 오른쪽에서 왼쪽으로 실행됩니다.
- 무조건 괄호가 가장 높은 우선 순위를 가집니다.
3. SHARP EL-9950
When solving a mathematical expression, this calculator internally looks for the following figures and methods (sorted in the order of evaluation):
| ① | Fractions (1/4, a/b, , etc.) |
| ② | Complex angles (∠) |
| ③ | Single calculation functions where the numerical value occurs before the function (X2, X-1, !, “°”, “r”, and “ g ”) |
| ④ | Exponential functions (ab, a , etc) |
| ⑤ | Multiplications between a value and a stored variable/constant, with “×” abbreviated (2π, 2A, etc.) |
| ⑥ | Single calculation functions where the numerical value occurs after the function (sin, cos, tan, sin-1, cos-1, tan-1, log, 10x, ln, ex, √¯, abs, int, ipart, fpart, (-), not, neg, etc.) |
| ⑦ | Multiplications between a number and a function in #6 (3cos20, etc. “cos20” is evaluated first) |
| ⑧ | Permutations and combinations (nPr, nCr) |
| ⑨ | ×, ÷ |
| ⑩ | +, - |
| ⑪ | and |
| ⑫ | or, xor xnor |
| ⑬ | Equalities and nonequalities (<, ≤, >, ≥, ≠, =, →deg, →dms, etc.) |
댓글2
-
세상의모든계산기
음수,빼기 vs 지수연산

ㄴ TI-nspire 【(-)】 음수기호도 지수계산보다 계산순서가 낮음.

ㄴ [CASIO fx-570 ES] 빼기【-】도 음수기호【(-)】도 모두 지수보다 계산순서가 낮음.

ㄴ [EL-W506T] 【(-)】 역시 마찬가지
세상의모든계산기 님의 최근 댓글
fx-570 CW 는 아래 링크에서 https://allcalc.org/56026 2025 10.24 불러오기 할 때 변수값을 먼저 확인하고 싶을 때는 VARIABLE 버튼 【⇄[x]】목록에서 확인하고 Recall 하시면 되고, 변수값을 이미 알고 있을 때는 바로 【⬆️SHIFT】【4】로 (A)를 바로 입력할 수 있습니다. 2025 10.24 fx-570 CW 로 계산하면? - 최종 확인된 결과 값 = 73.049507058478629343538 (23-digits) - 오차 = 6.632809104889414877 × 10^-19 꽤 정밀하게 나온건 맞는데, 시뮬레이션상의 22-digits 와 오차 수준이 비슷함. 왜 그런지는 모르겠음. - 계산기중 정밀도가 높은 편인 HP Prime CAS모드와 비교해도 월등한 정밀도 값을 가짐. 2025 10.24 HP Prime 에서 <Home> 73.0495070344 (12-decimal-digits) // python 시뮬레이션과 일치 <CAS> 21자리까지 나와서 이상하다 싶었는데, Ans- 에서 자릿수를 더 늘려서 빼보니, 뒷부분 숫자가 아예 바뀌어버림. 버그인가? (전) 73.0495070584718691243 (21-digits ????) (후) 73.0495070584718500814401 (24-digits ????) 찾아보니 버그는 아니고, CAS에서는 십진수가 아니라 2진수(bit) 단위로 처리한다고 함. Giac uses 48 bits mantissa from the 53 bits from IEEE double. The reason is that Giac stores CAS data (gen type) in 64 bits and 5 bits are used for the data type (24 types are available). We therefore loose 5 bits (the 5 low bits are reset to 0 when a double is retrieved from a gen). 출처 : https://www.hpmuseum.org/cgi-bin/archv021.cgi?read=255657 일단 오차를 놓고 보면 16-decimal-digits 수준으로 보임. 2025 10.23 khiCAS 에서 HP 39gII 에 올린 khiCAS는 254! 까지 계산 가능, 255! 부터는 ∞ fx-9750GIII 에 올린 khiCAS는 factorial(533) => 425760136423128437▷ // 정답, 10진수 1224자리 factorial(534) => Object too large 2025 10.23