Calculator
Build
The simplest way is to use QtCreator.
Functional tables
V1 op V2 = r | V1 op V2 % r | X = | X % | |
---|---|---|---|---|
op | Vs | expa | ||
+ | V2 | V1 | X op Vs = | Vs op X % |
- | V2 | V1 | ||
× | V1 | V1 | ||
÷ | V2 | V2 | X op Vs % |
expr | expa |
---|---|
X × =(%) | X × X ( |
X ÷ =(%) | 1 ÷ X ( |
X √ | |
X + =(%) | Vs + X |
X - =(%) | Vs - X |
Note:
- X - value on the display
- Vs - specific value
- op - operation
- r - result
- expr - expression
- expa - expantion
- Vs = 0 by default and changes with each operation