lua-users home
lua-l archive

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

On 15.11.2013, wrote:
> assert((i-(""..i)) == 0, "string.len() result not int!")
> I am not shure its related to my Pelles-C Compiler. I already disabled 
> all Compiler Optimisation to be save.

There is old bug in Pelles-C with doubles precision.
See [1] and [2].
  assert((i-(""..i)) < 0.01, "string.len() result not int!")


-- Nodir