lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The 32-bit and 64-bit version (tested on Windows) were giving each different consistent errors. I've got the same result as the one Wolfgang took, and I think it was the 32-bit version.


On 2/8/2012 6:06 AM, Wolfgang Pupp wrote:
2012/2/7 Adam Strzelecki<ono@java.pl>:
For testing I am multiplying A = A * B, where A is initially identity matrix) and B is PI/2 rotation matrix. Every 4 iterations A should be back to identity, however when JIT kicks in then a11 mysteriously changes to 0 (ZERO) and remains 0, when I turn off JIT the result is just fine I got identity every 4 iterations.

I just ran this on my PC, and got a different (also wrong) result:
done in 1.247000 seconds
0	0	0	0
0	1	0	0
1	0	-1	0
0	0	0	1

I think you found a new testcase for Mike ;)