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 |
10 |
10 |
25 |
min1 * min2 |
max1 * max2 |
|
|
pp |
nn |
min1 >= 0 && max2 < 0 |
4 |
8 |
-10 |
-6 |
|
-40 |
-24 |
-80 |
-48 |
max1 * min2 |
min1 * max2 |
|
|
pp |
np |
min1 >= 0 && min2 < 0
&& max2 >= 0 |
4 |
8 |
-3 |
5 |
|
-12 |
20 |
-24 |
40 |
max1 * min2 |
max1 * max2 |
|
|
nn |
pp |
max1 < 0 && min2 >= 0 |
-4 |
-2 |
2 |
5 |
|
-8 |
-20 |
-4 |
-10 |
min1 * max2 |
max1 * min2 |
|
|
nn |
nn |
max1 < 0 && max2 < 0 |
-4 |
-1 |
-6 |
-2 |
|
24 |
8 |
6 |
2 |
max1 * max2 |
min1 * min2 |
|
|
nn |
np |
max1 < 0 && min2 < 0
&& max2 >= 0 |
-4 |
-2 |
-3 |
4 |
|
12 |
-16 |
6 |
-8 |
min1 * max2 |
min1 * min2 |
|
|
np |
pp |
min1 < 0 && max1 >= 0
&& min2 >= 0 |
-4 |
4 |
2 |
4 |
|
-8 |
-16 |
8 |
16 |
min1 * max2 |
max1 * max2 |
|
|
np |
nn |
min1 < 0 && max1 >= 0
&& max2 < 0 |
-2 |
2 |
-6 |
-2 |
|
12 |
4 |
-12 |
-4 |
max1 * min2 |
min1 * min2 |
|
|
np |
np |
min1 < 0 && max1 >= 0
&& min2 < 0 && max2 >= 0 |
-4 |
4 |
-4 |
6 |
|
16 |
-24 |
-16 |
24 |
min1 * max2 |
max1 * max2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pp |
Min = positive and Max = positive |
|
|
|
|
|
|
|
|
|
|
|
|
|
nn |
Min = negative and Max = negative |
|
|
|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