Algorithm to detect whether two numbers have opposite signs using bitwise operators

The problem at hand is to detect whether two given numbers has opposite signs using bitwise operators.


This is a companion discussion topic for the original entry at http://iq.opengenus.org/bitwise-algorithm-to-detect-whether-two-numbers-have-opposite-signs/
1 Like