Hi.

I changed the internal number representation to double now.

"Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio (double int32)"

> function err()
>        local t = os.time()
>        print(string.format("%d %d\n", t, t + math.floor(1)))
> end
> 
> err()
1286455595 1286455596

> x = 1234567890
> y = x - 1.0
> print(x - y)
1

> print(string.format("%d\n", y))
1234567889


~ Jow
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to