numparser2.h

changeset 2
e14a1aba4c56
parent 1
6e704fc09528
child 3
b1fbfab67908
equal deleted inserted replaced
1:6e704fc09528 2:e14a1aba4c56
187 c-='a'-10; 187 c-='a'-10;
188 188
189 if(c>=base) 189 if(c>=base)
190 err=E_TOKZ_NUMFMT; 190 err=E_TOKZ_NUMFMT;
191 191
192 npnum_mulbase_add(num, base, c); 192 tmp=npnum_mulbase_add(num, base, c);
193 if(err==0)
194 err=tmp;
193 195
194 if(dm==1) 196 if(dm==1)
195 dm=2; 197 dm=2;
196 else if(dm==3) 198 else if(dm==3)
197 ADD_EXP(num, -1); 199 ADD_EXP(num, -1);

mercurial