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

bitwise-operation
bitwise-algorithm

(Team) #1

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/