Go Down

Topic: Possible documentation error: bitshift (Read 671 times) previous topic - next topic

g3rse

On page http://www.arduino.cc/en/Reference/Bitshift there is

   int y = unsigned(x) >> 3;  // binary: 0001111111111110

Is that really correct? Surely, the syntax for typecasts is (type)variable


Go Up