Hi it seems like you hit the maximum value that Java can handle for an integer, for such high value, you can try :
var num1 = BigInteger("340282000000000000000000000000000000001");
var num2 = BigInteger("340282000000000000000000000000000000000");
BigInteger class is used for the mathematical operation which involves very big integer calculations that are outside the limit of all available primitive data types.