Why is the number like that?
because poor coding so it went over it's maximum and underflow errored into negative 2^31, despite it's maximum not even being 2^31.