lua-users home
lua-l archive

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


HW: STM32F107RCT6 (ARM Cortex M3)
OS: MadOS
I port lua to a RTOS, and then found a strange error :
* math.pow(2, 2) result 4.0 BUT 2^2 result 2.
* After some test, I found x^y result x always.
* I used v5.4.0, v5.3.5 and v5.1.5 for testing, and got the same result.
Here is my luaconfig.h used in v5.4.0.

Attachment: luaconf.h
Description: Binary data