Anonymous user
Bernoulli numbers: Difference between revisions
→{{header|Lua}}
Line 2,245:
gmp.q_init(rop)
gmp.z_inits(n, d)
local
local from=arg[2] and tonumber(arg[2]) or 0
if from~=0 then to,from=from,to end
for i=
bernoulli(rop, i)
if gmp.q_cmp_ui(rop, 0, 1)~=0 then
|