I believe I narrowed down my bug to XOR. The right and left shifts
seems to be working just fine with the workaround suggested.
$b ^= $c
is giving me different results on the 32bit machine and the 64. Im
looking to get the same 32bit answer on the 64bit machine. Any
suggestions for another workaround?