Home
last modified time | relevance | path

Searched refs:unitsptr (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c150 static void normalize P((int * tensptr, int * unitsptr, int base));
1197 normalize(tensptr, unitsptr, base) in normalize() argument
1199 int * const unitsptr;
1204 if (*unitsptr >= base) {
1205 *tensptr += *unitsptr / base;
1206 *unitsptr %= base;
1207 } else if (*unitsptr < 0) {
1209 tmp = -1 - (*unitsptr);
1211 *unitsptr = (base - 1) - (tmp % base);