Lines Matching refs:sdigit
30 Py_SIZE(x) < 0 ? -(sdigit)(x)->ob_digit[0] : \
31 (Py_SIZE(x) == 0 ? (sdigit)0 : \
32 (sdigit)(x)->ob_digit[0]))
49 get_small_int(sdigit ival) in get_small_int()
65 return get_small_int((sdigit)ival); \
72 sdigit ival = MEDIUM_VALUE(v); in maybe_small_long()
228 sdigit ival = MEDIUM_VALUE(src); in _PyLong_Copy()
434 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongAndOverflow()
535 case -1: return -(sdigit)v->ob_digit[0]; in PyLong_AsSsize_t()
1241 bytes = -(sdigit)v->ob_digit[0]; in PyLong_AsLongLong()
1398 res = -(sdigit)v->ob_digit[0]; in PyLong_AsLongLongAndOverflow()
2618 sdigit zhi; in x_divrem()
2701 z = (sdigit)vk[i] + zhi - in x_divrem()
2704 zhi = (sdigit)Py_ARITHMETIC_RIGHT_SHIFT(stwodigits, in x_divrem()
2709 assert((sdigit)vtop + zhi == -1 || (sdigit)vtop + zhi == 0); in x_divrem()
2710 if ((sdigit)vtop + zhi < 0) { in x_divrem()
2914 sign = (sdigit)a->ob_digit[i] - (sdigit)b->ob_digit[i]; in long_compare()
2943 case -1: return v->ob_digit[0]==1 ? -2 : -(sdigit)v->ob_digit[0]; in long_hash()
3575 sdigit left = a->ob_digit[0]; in fast_mod()
3576 sdigit right = b->ob_digit[0]; in fast_mod()
3577 sdigit mod; in fast_mod()
3591 return PyLong_FromLong(mod * (sdigit)Py_SIZE(b)); in fast_mod()
3598 sdigit left = a->ob_digit[0]; in fast_floor_div()
3599 sdigit right = b->ob_digit[0]; in fast_floor_div()
3600 sdigit div; in fast_floor_div()