Seems I got a solution but no explication. This test is passing everytime in release and debug... function test_large_int_add0(data) { var act = 0xA5000000 + 0; var exp = '2768240640'; compare(act.toString(), exp); }