Re: Making LuaJIT built-in bit library work with 64 bit numbers

  • From: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 3 Oct 2012 00:28:16 +0400

* Konstantin Osipov <kostja@xxxxxxxxxxxxx> [12/10/03 00:13]:

> lua> i = bit.band(i, 1)
> error: [string "i = bit.band(i, 1)"]:1: bad argument #1 to 'band' (number 
> expected, got cdata)
> 
> Is there a way to fix this?

http://lua-users.org/lists/lua-l/2012-02/msg00264.html

OK, I see this is planned.

-- 
http://tarantool.org - an efficient, extensible in-memory data store

Other related posts: