--- ui64.c 2003/03/23 18:07:15 1.3
+++ ui64.c 2004/01/09 11:24:21 1.4
@@ -109,15 +109,15 @@
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, /* a...m */
23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 /* m...z */
};
-
+
ui64_fill(z, 0);
if (str == NULL || (base < 2 || base > 36))
return z;
cp = str;
while (*cp != '\0' && isspace((int)(*cp)))
cp++;
- while ( *cp != '\0'
- && isalnum((int)(*cp))
+ while ( *cp != '\0'
+ && isalnum((int)(*cp))
&& map[(int)(*cp)-'0'] < base) {
z = ui64_muln(z, base, &carry);
if (carry)
@@ -318,7 +318,7 @@
int i;
int n, m;
int ovn;
-
+
/* determine actual number of involved digits */
n = ui64_len(x);
m = ui64_len(y);
@@ -364,7 +364,7 @@
qk := rx[k+m-2...k+m]/y[m-2...m-1] */
km = k + m;
y2 = (y.x[m-1]*UI64_BASE) + y.x[m-2];
- r3 = (rx.x[km]*(UI64_BASE*UI64_BASE)) +
+ r3 = (rx.x[km]*(UI64_BASE*UI64_BASE)) +
(rx.x[km-1]*UI64_BASE) + rx.x[km-2];
qk = r3 / y2;
if (qk >= UI64_BASE)
|