title: Is Shifting more than 32 bits of a uint64_t integer on an x86 machine Undefined Behavior?
body: <p>Learning the hard way, I tried to left shift a <code>long long</code> and <code>uint64_t</code> to more than 32 bits on an x86 machine resulted <code>0</code>. I vaguely remember to have read somewhere than on a 32 bit machine shift operators only work on the first 32 bits but cannot recollect the source.
  I would like to know is if Shifting more than 32 bits of a uint64_t integer on an x86 machine is an Undefined Behavior?</p>