Description
The reason for this is because here first we shift the int, and then we assign it to the long, therefore if the int is bigger than 2^12 when shifting 20 it becomes a negative value. We should cast to long and then do the shift.
The reason for this is because here first we shift the int, and then we assign it to the long, therefore if the int is bigger than 2^12 when shifting 20 it becomes a negative value. We should cast to long and then do the shift.