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 |
|
0 |
-3 |
3 |
0 |
min1 - max2 |
max1 - min2 |
|
|
pp |
nn |
min1 >= 0 && max2 < 0 |
4 |
8 |
-10 |
-6 |
|
14 |
10 |
18 |
14 |
min1 - max2 |
max1 - min2 |
|
|
pp |
np |
min1 >= 0 && min2 < 0
&& max2 >= 0 |
4 |
8 |
-3 |
5 |
|
7 |
-1 |
11 |
3 |
min1 - max2 |
max1 - min2 |
|
|
nn |
pp |
max1 < 0 && min2 >= 0 |
-4 |
-2 |
2 |
5 |
|
-6 |
-9 |
-4 |
-7 |
min1 - max2 |
max1 - min2 |
|
|
nn |
nn |
max1 < 0 && max2 < 0 |
-4 |
-1 |
-6 |
-2 |
|
2 |
-2 |
5 |
1 |
min1 - max2 |
max1 - min2 |
|
|
nn |
np |
max1 < 0 && min2 < 0
&& max2 >= 0 |
-4 |
-2 |
-3 |
4 |
|
-1 |
-8 |
1 |
-6 |
min1 - max2 |
max1 - min2 |
|
|
np |
pp |
min1 < 0 && max1 >= 0
&& min2 >= 0 |
-4 |
4 |
2 |
4 |
|
-6 |
-8 |
2 |
0 |
min1 - max2 |
max1 - min2 |
|
|
np |
nn |
min1 < 0 && max1 >= 0
&& max2 < 0 |
-2 |
2 |
-6 |
-2 |
|
4 |
0 |
8 |
4 |
min1 - max2 |
max1 - min2 |
|
|
np |
np |
min1 < 0 && max1 >= 0
&& min2 < 0 && max2 >= 0 |
-4 |
4 |
-4 |
6 |
|
0 |
-10 |
8 |
-2 |
min1 - max2 |
max1 - min2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pp |
Min = positive and Max = positive |
|
|
|
|
|
|
|
|
|
|
|
|
|
nn |
Min = negative and Max = negative |
|
|
|
|
|
|
|
|
|
|
|
|
|
np |
Min = negative and Max = positive |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Calculated |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Minimum |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Maximum |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|