Add missing index_tuple.hpp header.
[luabind.git] / examples / cln / cln_test.lua
blob6ec35306979ad5c0b92d938af120a7a5a85c9e70
2 a = factorial(41)
3 b = factorial(42)
5 print('a = fac(41) = ' .. tostring(a))
6 print('b = fac(42) = ' .. tostring(b))
7 print('b / a = ' .. tostring(b / a))
9 c = a * 42
11 d = sqrt(cl_R(10))
13 print('d = sqrt(10) = ' .. tostring(d))
15 if c == b then print('equality operator test: ok') else print('equality operator test: failed') end
17 -- prints
18 -- a = fac(41) = 33452526613163807108170062053440751665152000000000
19 -- b = fac(42) = 1405006117752879898543142606244511569936384000000000
20 -- b / a = 42
21 -- d = sqrt(10) = 3.1622777