SHOW:
|
|
- or go back to the newest paste.
1 | <: <: <: <: <: >: >: >: >: >: 10 11 12 | |
2 | 10 11 12 | |
3 | ||
4 | 10 11 12 -5+5 [this acts like -10..] | |
5 | 0 1 2 | |
6 | ||
7 | 10 11 12 +5-5 [this probably acts like +0..] | |
8 | 10 11 12 | |
9 | ||
10 | ||
11 | ||
12 | 10-1+1 | |
13 | 8 | |
14 | ||
15 | ||
16 | ||
17 | 10 | |
18 | 10-10 | |
19 | 0 | |
20 | 10-10+100 | |
21 | _100 | |
22 | ||
23 | 10-10-10 | |
24 | 10 | |
25 | - | 10 |
25 | + | |
26 | What gives, J? Explain. | |
27 | ||
28 | ||
29 | ||
30 | (8-3)+4 | |
31 | 9 | |
32 | 8-(3+4) | |
33 | 1 | |
34 | 8-3+4 | |
35 | 1 | |
36 | ||
37 | The last sentence illustrates the behaviour in the absence of parentheses: in effect, the | |
38 | sentence is [evaluated from right to left] or, equivalently, the [right argument of each verb is | |
39 | the value of the entire phrase to its right]. | |
40 | ||
41 | 8-3+4 [3+4 = 7] [4+3 = 7] [4+3 - 8 = 1] | |
42 | 8-3-3-3 [3-3-3-8 = 5] [3-3=0 0-3=-3 -3-8=5] What gives??? [8-3 -(3-3)] | |
43 | [3-3-3-8+] [-3 -3 -3 +8 = -1] What gives??? that's odd. | |
44 | [+3 -3 -3 +8 = 5] Properly reversed. [+8 -3 -3 -3] [3- 3- 3- 8+] I still find it odd. |