lua-users home
lua-l archive

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


On Wed, Nov 17, 2010 at 12:02 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> Lua 5.2.0 (alpha-rc2) is now available at... All feedback welcome.

When reading

  "bit32.TEST (···) -- Returns a boolean signaling whether the bitwise
and of its operands is different from zero."

I first parsed that as <<"the bitwise" and "of its operands">> before
finally realizing it meant "bitwise and".

The function does seem fairly trivial to include since bit32.TEST(...)
== (bit32.AND(...) ~= 0).