(13725 > -2147483648)
produces false?
In case it is verified, the culprit seems to be at line 199 of sqvm.cpp which reads:
_RET_SUCCEED(_integer(o1)-_integer(o2));
This code is trying to compare two integers, but the operation will cause the result to be an overflow -ve number and the result of the comparison will be false.
On line 201 the comparison of floats is correct:
_RET_SUCCEED((_float(o1)<_float(o2))?-1:1);
Line 199 should be modified to read:
_RET_SUCCEED((_integer(o1)<_integer(o2))?-1:(_integer(o1)==_integer(o2))?0:1);
I am pretty sure this is a bug this time.
