Which is the simplest way to check if two integers have same sign? Is there any short bitwise trick to do this?
if (x * y) > 0...
assuming non-zero and such.