Non-decimal radices/Convert: Difference between revisions

→‎{{header|PARI/GP}}: Loop was going wrong direction.
m (fixed line width)
(→‎{{header|PARI/GP}}: Loop was going wrong direction.)
Line 1,682:
my(t=0);
s=Vecsmall(s);
forstepfor(i=1,#s,1,-1,
t=b*t+s[i]-if(s[i]<58,48,87)
);
Anonymous user