quicker %

This commit is contained in:
Enno Rehling 2007-04-04 19:27:20 +00:00
parent 85e9803acf
commit 81a89b8d47

View file

@ -63,7 +63,7 @@ itoab(int i, int base)
for (j=0;j!=4;++j) as[j] = x+j*8; for (j=0;j!=4;++j) as[j] = x+j*8;
} }
s = as[index]; s = as[index];
index = (index+1) % 4; index = (index+1) & 3; /* quick for % 4 */
dst = s+7; dst = s+7;
(*dst--)=0; (*dst--)=0;
if (i!=0) { if (i!=0) {