I\'m trying to port some functionality from a Java app to Python.
In Java,
System.out.println(155 << 24);
Returns: -1694498816
Use long in java to get the same result
System.out.println(155L << 24);
instead of
Long are 4 byte length so the precision is the same for this context to python integers.