BlindMindStudios/AngelScript-JIT-Compiler

int64 issue

glcolor opened this issue · 2 comments

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.

Fixed in the latest commit.

It's ok now,thanks.