lua-users home
lua-l archive

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


> I.e.
> 
>   band(1,1) != bor(1,0)		-- gives 1 and -9007199254740991
> 
> or 
> 
>   bnot(0) != bxor(bnot(0),0)	-- gives -1 and 0

I had tested this, but forgotten to turn off my bitlib functions. Sigh. 
I've reverted to the longer version once more in stdlib.

-- 
http://www.mupsych.org/~rrt/ | Astrophysics: it's not exactly rocket science