I want to calculate the value of -110 * -110 * 0x4c1906
When calculated in java I get the result 214876056.
But when tested with python I get 60344418200
Java
public class test{
public static void main(String args[])
{
int value = -110;
int result = value * value * 0x4c1906;
System.out.println(result);
}
}
Python
value = -110
result = value * value * 0x4c1906
print(result)
I want to know where the difference is.