lua-users home
lua-l archive

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


In message <16d4c3590808100603u7de5bffkeecaef84d2805398@mail.gmail.com>
you wrote:


> I'm using lua on an embedded ARM device, and everything worked great until I
> added a 3rd party library which didn't work. ....
> The problem seems to be with using literal numbers.  If I do:
>
> i = 1
>
> and then log what I is, I get:

Did you mean i?

> = 5.2998088236266e-315

ARMs do not do floating point as a rule, especially not in embedded
devices. What, if anything, is supplying your fp processing,
and what type of LUA_NUM is your lua compiled with?

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/