scenario |
condition |
min1 |
max1 |
min2 |
max2 |
|
min1 + min2 |
min1 + max2 |
max1 + min2 |
max1 + max2 |
min = |
max = |
|
|
pp |
pp |
min1 >= 0 && min2 >= 0 |
2 |
5 |
2 |
5 |
|
4 |
7 |
7 |
10 |
min1 + min2 |
max1 + max2 |
|
|
pp |
nn |
min1 >= 0 && max2 < 0 |
4 |
8 |
-10 |
-6 |
|
-6 |
-2 |
-2 |
2 |
min1 + min2 |
max1 + max2 |
|
|
pp |
np |
min1 >= 0 && min2 < 0
&& max2 >= 0 |
4 |
8 |
-3 |
5 |
|
1 |
9 |
5 |
13 |
min1 + min2 |
max1 + max2 |
|
|
nn |
pp |
max1 < 0 && min2 >= 0 |
-4 |
-2 |
2 |
5 |
|
-2 |
1 |
0 |
3 |
min1 + min2 |
max1 + max2 |
|
|
nn |
nn |
max1 < 0 && max2 < 0 |
-4 |
-1 |
-6 |
-2 |
|
-10 |
-6 |
-7 |
-3 |
min1 + min2 |
max1 + max2 |
|
|
nn |
np |
max1 < 0 && min2 < 0
&& max2 >= 0 |
-4 |
-2 |
-3 |
4 |
|
-7 |
0 |
-5 |
2 |
min1 + min2 |
max1 + max2 |
|
|
np |
pp |
min1 < 0 && max1 >= 0
&& min2 >= 0 |
-4 |
4 |
2 |
4 |
|
-2 |
0 |
6 |
8 |
min1 + min2 |
max1 + max2 |
|
|
np |
nn |
min1 < 0 && max1 >= 0
&& max2 < 0 |
-2 |
2 |
-6 |
-2 |
|
-8 |
-4 |
-4 |
0 |
min1 + min2 |
max1 + max2 |
|
|
np |
np |
min1 < 0 && max1 >= 0
&& min2 < 0 && max2 >= 0 |
-4 |
4 |
-4 |
6 |
|
-8 |
2 |
0 |
10 |
min1 + min2 |
max1 + max2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pp |
Min = positive and Max = positive |
|
|
|
|
|
|
|
|
|
|
|
|
|
nn |
Min = negative and Max = negative |
|
|
|
|
|
|
|
|
|
|
|
|
|
np |
Min = negative and Max = positive |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Calculated |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Minimum |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Maximum |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|