Searched refs:sdigit (Results 1 – 5 of 5) sorted by relevance
46 typedef PY_INT32_T sdigit; /* signed variant of digit */ typedef54 typedef short sdigit; /* signed variant of digit */
297 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongAndOverflow()1097 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongLongAndOverflow()2083 sdigit zhi; in x_divrem()2166 z = (sdigit)vk[i] + zhi - in x_divrem()2169 zhi = (sdigit)Py_ARITHMETIC_RIGHT_SHIFT(stwodigits, in x_divrem()2174 assert((sdigit)vtop + zhi == -1 || (sdigit)vtop + zhi == 0); in x_divrem()2175 if ((sdigit)vtop + zhi < 0) { in x_divrem()2381 sign = (sdigit)a->ob_digit[i] - (sdigit)b->ob_digit[i]; in long_compare()
293 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongAndOverflow()1111 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongLongAndOverflow()2097 sdigit zhi; in x_divrem()2180 z = (sdigit)vk[i] + zhi - in x_divrem()2183 zhi = (sdigit)Py_ARITHMETIC_RIGHT_SHIFT(stwodigits, in x_divrem()2188 assert((sdigit)vtop + zhi == -1 || (sdigit)vtop + zhi == 0); in x_divrem()2189 if ((sdigit)vtop + zhi < 0) { in x_divrem()2395 sign = (sdigit)a->ob_digit[i] - (sdigit)b->ob_digit[i]; in long_compare()