lean2/tests/lua/mpz1.lua
Leonardo de Moura 9884c056ce feat(lua): allow Lean to be compiled with Lua 5.1 and LuaJit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-03 12:40:44 -08:00

12 lines
192 B
Lua

a = mpz("1000000000000000000000000000")
b = mpz(10)
c = mpz(10)
print(a/3)
print(b == c)
print(a < b)
print(b < a)
print(b == mpz(10))
print(mpz(10) < b)
print(mpz(10) <= b)
print(a)
print(b)