lua-users home
lua-l archive

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

Hello, people

I am facing some problems with the default numeric type of the lua and that brought back to me an old question: why only one numeric type?

If it is a floating point and you use it for integer calculations, can't you get unnecessary overhead? (nevermind the risk of precision loss)

Is there any severe concerns about adding support for integer operations? Is it intended to be done using the userdata structure?