I need to check if two integers are on the same side of zero many times. I don\'t care if it\'s positive or negative, just that it\'s the same side... and performance is very im
int int1 = 3; int int2 = 4; boolean res = ( (int1 * int2) >= 0) ? true : false; System.out.println(res);