sign(a)*sign(b)*min(abs(a), abs(b)) = max(min(a,b), -max(a,b))