int64 issue
glcolor opened this issue · 2 comments
glcolor commented
int64 count=0;
for(int64 i=0;i<1000000000;++i)
{
count+=i;
}
The code above gives a result of 500000003794967296 in 32 bit angelscript when jit was enabled, but the result is 499999999500000000 in c++ code and in angelscript when jit was disabled.x64 is all right.
Compiler is MSVC of VS2013.
ThyReaper commented
Fixed in the latest commit.
glcolor commented
It's ok now,thanks.