Searched refs:unitsptr (Results 1 – 2 of 2) sorted by relevance
116 int * unitsptr, in normalize() argument120 if (*unitsptr >= base) { in normalize()121 *tensptr += *unitsptr / base; in normalize()122 *unitsptr %= base; in normalize()123 } else if (*unitsptr < 0) { in normalize()125 *unitsptr += base; in normalize()126 if (*unitsptr < 0) { in normalize()127 *tensptr -= 1 + (-*unitsptr) / base; in normalize()128 *unitsptr = base - (-*unitsptr) % base; in normalize()
2036 normalize_overflow(int *const tensptr, int *const unitsptr, const int base)2040 tensdelta = (*unitsptr >= 0) ? in increment_overflow() 2041 (*unitsptr / base) : in increment_overflow() 2042 (-1 - (-1 - *unitsptr) / base); in increment_overflow() 2043 *unitsptr -= tensdelta * base; in increment_overflow() 2048 normalize_overflow32(int_fast32_t *tensptr, int *unitsptr, int base) in increment_overflow() 2052 tensdelta = (*unitsptr >= 0) ? in increment_overflow() 2053 (*unitsptr / base) : in increment_overflow() 2054 (-1 - (-1 - *unitsptr) / base); in increment_overflow() 2055 *unitsptr in increment_overflow() 2095 normalize_overflow(int * const tensptr,int * const unitsptr,const int base) normalize_overflow() argument 2107 normalize_overflow32(int_fast32_t * tensptr,int * unitsptr,int base) normalize_overflow32() argument [all...]