Searched refs:sdigit (Results 1 – 2 of 2) sorted by relevance
46 typedef PY_INT32_T sdigit; /* signed variant of digit */ typedef54 typedef short sdigit; /* signed variant of digit */
281 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongAndOverflow()1099 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongLongAndOverflow()2085 sdigit zhi; in x_divrem()2168 z = (sdigit)vk[i] + zhi - in x_divrem()2171 zhi = (sdigit)Py_ARITHMETIC_RIGHT_SHIFT(stwodigits, in x_divrem()2176 assert((sdigit)vtop + zhi == -1 || (sdigit)vtop + zhi == 0); in x_divrem()2177 if ((sdigit)vtop + zhi < 0) { in x_divrem()2383 sign = (sdigit)a->ob_digit[i] - (sdigit)b->ob_digit[i]; in long_compare()