3 ms·
It just moves the problem. You can keep pushing the problem up to int64_t, but it does not go away. abs(-9223372036854775808) = -9223372036854775808 abs(-9
by nabla9 5y ago
It just moves the problem. You can keep pushing the problem up to int64_t, but it does not go away.
abs(-9223372036854775808) = -9223372036854775808
abs(-9223372036854775807) = 9223372036854775807
abs( 0) = 0
abs( 9223372036854775806) = 9223372036854775806
abs( 9223372036854775807) = 9223372036854775807