[luci] luci-lib-nixio: bug in bit module ?
Petr Štetiar
ynezz at true.cz
Mon Sep 9 14:19:16 CEST 2013
Hi,
I've been currently tracking problem with my simple CRC checking routine on
one of my ARM boards and I've found out, that the problem is in the Nixio's
bit module:
root at ts72xx:~# lua -e "bit=require('bit'); print(bit.tobit(-1))"
0
(expected output is -1)
root at ts72xx:~# lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio (double int32)
root at ts72xx:~# head -1 /proc/cpuinfo
Processor : ARM920T rev 0 (v4l)
Thanks.
-- ynezz
More information about the luci
mailing list