lua-users home
lua-l archive

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


> A real integer type and adding //, would pave the way for bitwise operators <<, >>, | and &
> (don't know what to do about ^ because it's already in use). This would make Lua a better fit for those applications that rely on bit crunching operations. 
> 
> May I ask what is the opinion of Roberto regarding these new operators?

I think we always stated that the main problem with bitwise operators
in Lua was that they do not have a "natural" interpretation over Lua
numbers. If Lua gets integers, this problem is gone.

-- Roberto