Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dlongobject.c29 #define MEDIUM_VALUE(x) (assert(-1 <= Py_SIZE(x) && Py_SIZE(x) <= 1), \ macro
72 sdigit ival = MEDIUM_VALUE(v); in maybe_small_long()
98 *x_p = (PyLongObject *)PyLong_FromLong(-MEDIUM_VALUE(x)); in _PyLong_Negate()
228 sdigit ival = MEDIUM_VALUE(src); in _PyLong_Copy()
2880 return (double)MEDIUM_VALUE((PyLongObject *)v); in PyLong_AsDouble()
3090 return PyLong_FromLong(MEDIUM_VALUE(a) + MEDIUM_VALUE(b)); in long_add()
3124 return PyLong_FromLong(MEDIUM_VALUE(a) - MEDIUM_VALUE(b)); in long_sub()
3557 stwodigits v = (stwodigits)(MEDIUM_VALUE(a)) * MEDIUM_VALUE(b); in long_mul()
4217 return PyLong_FromLong(-(MEDIUM_VALUE(v)+1)); in long_invert()
4232 return PyLong_FromLong(-MEDIUM_VALUE(v)); in long_neg()