on my local bash machines at startup:
echo $((192 << 24)) 3221225472
but for my built-in purposes the SHELL box loads. I get something else:
echo $((192 << 24)) -1073741824
It works when I left the shift to a smaller number. The attached device has a 64-bit version, where my local host is 32 bits.
To be clear, on a 32-bit machine, the value is positive; on a 64-bit machine, this is negative.
EDIT: This is on the embedded device, which is a 64-bit machine with SHELL . This does not happen when the left offset is 23.
echo $((192 << 23)) 1610612736 echo $((192 << 24)) -1073741824
On the local host, which is a 32 machine with BASH :
echo $((192 << 55)) 6917529027641081856 echo $((192 << 56)) -4611686018427387904
source share