Bernoulli numbers: Difference between revisions

Line 2,245:
gmp.q_init(rop)
gmp.z_inits(n, d)
local numto=arg[1] and tonumber(arg[1]) or 60
local from=arg[2] and tonumber(arg[2]) or 0
if from~=0 then to,from=from,to end
 
 
for i=0from,numto do
bernoulli(rop, i)
if gmp.q_cmp_ui(rop, 0, 1)~=0 then