Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/01/04 16:02
Read: times


 
#67769 - RE: Shifting/Rotating
Responding to: ???'s previous message
In short, you cannot do this in C.

You can of course determine what the least or most significant bit of a variable is just BEFORE it is shifted. Simply AND with a suitable mask and compare the result with zero.

List of 15 messages in thread
TopicAuthorDate
Shifting/Rotating            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
      RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
   Horses for Courses            01/01/70 00:00      
   RE: Shifting/Rotating            01/01/70 00:00      
      RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
         RE: Shifting/Rotating            01/01/70 00:00      
            RE: Shifting/Rotating            01/01/70 00:00      
               RE: Shifting/Rotating            01/01/70 00:00      
                  RE: Shifting/Rotating            01/01/70 00:00      
                  RE: Shifting/Rotating            01/01/70 00:00      
                     RE: Shifting/Rotating            01/01/70 00:00      

Back to Subject List